From b4717b85264628babe4b3c463f6bbe715c03e7a0 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 4 Oct 2017 15:06:38 +0300 Subject: Fix tests --- test/order_validation_test.ts | 4 ++-- 1 file 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); }); }); }); -- cgit v1.2.3