aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 01:31:22 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 01:31:22 +0800
commit96596b1c2baa384a0cd97343dab3c280cba6898c (patch)
treef10bedf28c0346510ba85efdbf81883d54de018f /test
parentc0a90fe84e0a71ef927715b57a9e38ee3b875445 (diff)
downloaddexon-0x-contracts-96596b1c2baa384a0cd97343dab3c280cba6898c.tar.gz
dexon-0x-contracts-96596b1c2baa384a0cd97343dab3c280cba6898c.tar.zst
dexon-0x-contracts-96596b1c2baa384a0cd97343dab3c280cba6898c.zip
Rename batchCancelOrderAsync to batchCancelOrdersAsync
Diffstat (limited to 'test')
-rw-r--r--test/exchange_wrapper_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 9b05c3f5a..cd3b82708 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -531,7 +531,7 @@ describe('ExchangeWrapper', () => {
});
});
});
- describe('#batchCancelOrderAsync', () => {
+ describe('#batchCancelOrdersAsync', () => {
let anotherSignedOrder: SignedOrder;
let anotherOrderHashHex: string;
let cancelBatch: OrderCancellationRequest[];
@@ -556,7 +556,7 @@ describe('ExchangeWrapper', () => {
const signedOrderWithDifferentMaker = await fillScenarios.createFillableSignedOrderAsync(
makerTokenAddress, takerTokenAddress, takerAddress, takerAddress, fillableAmount,
);
- return expect(zeroEx.exchange.batchCancelOrderAsync([
+ return expect(zeroEx.exchange.batchCancelOrdersAsync([
cancelBatch[0],
{
order: signedOrderWithDifferentMaker,
@@ -567,7 +567,7 @@ describe('ExchangeWrapper', () => {
});
describe('successful batch cancels', () => {
it('should cancel a batch of orders', async () => {
- await zeroEx.exchange.batchCancelOrderAsync(cancelBatch);
+ await zeroEx.exchange.batchCancelOrdersAsync(cancelBatch);
const cancelledAmount = await zeroEx.exchange.getCanceledTakerAmountAsync(
orderHashHex, exchangeContractAddress,
);