aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 20:06:38 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-04 20:06:38 +0800
commitb4717b85264628babe4b3c463f6bbe715c03e7a0 (patch)
tree0e15cda11e84d485cfee51a59185ad4b6181be6a /test
parent074040daf5d30442669426ed45dc08056172c8c1 (diff)
downloaddexon-sol-tools-b4717b85264628babe4b3c463f6bbe715c03e7a0.tar
dexon-sol-tools-b4717b85264628babe4b3c463f6bbe715c03e7a0.tar.gz
dexon-sol-tools-b4717b85264628babe4b3c463f6bbe715c03e7a0.tar.bz2
dexon-sol-tools-b4717b85264628babe4b3c463f6bbe715c03e7a0.tar.lz
dexon-sol-tools-b4717b85264628babe4b3c463f6bbe715c03e7a0.tar.xz
dexon-sol-tools-b4717b85264628babe4b3c463f6bbe715c03e7a0.tar.zst
dexon-sol-tools-b4717b85264628babe4b3c463f6bbe715c03e7a0.zip
Fix tests
Diffstat (limited to 'test')
-rw-r--r--test/order_validation_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/order_validation_test.ts b/test/order_validation_test.ts
index 8f3e6ce0b..c1a0a6c8c 100644
--- a/test/order_validation_test.ts
+++ b/test/order_validation_test.ts
@@ -433,7 +433,7 @@ describe('OrderValidation', () => {
const makerFee = fillableAmount.plus(1);
const takerFee = fillableAmount.plus(1);
signedOrder = await fillScenarios.createFillableSignedOrderWithFeesAsync(
- makerTokenAddress, zrxTokenAddress, makerFee, takerFee,
+ zrxTokenAddress, takerTokenAddress, makerFee, takerFee,
makerAddress, takerAddress, fillableAmount, feeRecipient,
);
txHash = await zeroEx.token.transferAsync(zrxTokenAddress, takerAddress, coinbase, takerFee);
@@ -441,7 +441,7 @@ describe('OrderValidation', () => {
return expect(
(orderValidationUtils as any).validateFillOrderTakerBalancesAllowancesThrowIfInvalidAsync(
signedOrder, fillTakerAmount, takerAddress, zrxTokenAddress,
- )).to.be.rejectedWith(ExchangeContractErrs.InsufficientMakerFeeBalance);
+ )).to.be.rejectedWith(ExchangeContractErrs.InsufficientTakerFeeBalance);
});
});
});