diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-08 01:31:02 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-08 01:31:02 +0800 |
commit | c0a90fe84e0a71ef927715b57a9e38ee3b875445 (patch) | |
tree | 67f3d5f4fa691c28fe6fe2d41589015068210341 /test | |
parent | 03a6e1dac55d174701493cacdd7db46a9aeed25b (diff) | |
download | dexon-0x-contracts-c0a90fe84e0a71ef927715b57a9e38ee3b875445.tar.gz dexon-0x-contracts-c0a90fe84e0a71ef927715b57a9e38ee3b875445.tar.zst dexon-0x-contracts-c0a90fe84e0a71ef927715b57a9e38ee3b875445.zip |
Rename batchFillOrderAsync to batchFillOrdersAsync
Diffstat (limited to 'test')
-rw-r--r-- | test/exchange_wrapper_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 45da44f54..9b05c3f5a 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -386,7 +386,7 @@ describe('ExchangeWrapper', () => { }); }); }); - describe('#batchFillOrderAsync', () => { + describe('#batchFillOrdersAsync', () => { let signedOrder: SignedOrder; let signedOrderHashHex: string; let anotherSignedOrder: SignedOrder; @@ -414,10 +414,10 @@ describe('ExchangeWrapper', () => { }); describe('successful batch fills', () => { it('should no-op for an empty batch', async () => { - await zeroEx.exchange.batchFillOrderAsync([], shouldCheckTransfer, takerAddress); + await zeroEx.exchange.batchFillOrdersAsync([], shouldCheckTransfer, takerAddress); }); it('should successfully fill multiple orders', async () => { - await zeroEx.exchange.batchFillOrderAsync(orderFillBatch, shouldCheckTransfer, takerAddress); + await zeroEx.exchange.batchFillOrdersAsync(orderFillBatch, shouldCheckTransfer, takerAddress); const filledAmount = await zeroEx.exchange.getFilledTakerAmountAsync( signedOrderHashHex, exchangeContractAddress, ); |