diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-02 03:12:13 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-02 03:12:13 +0800 |
commit | f663a15c9b000d639bd0d58d0c177e6de9d47346 (patch) | |
tree | e36c3cafefd362e38a66ca01540c82ad8cb778e3 /test/exchange_wrapper_test.ts | |
parent | 511fa537ad3d2a669d5d680efb26012ca1b9c062 (diff) | |
download | dexon-sol-tools-f663a15c9b000d639bd0d58d0c177e6de9d47346.tar dexon-sol-tools-f663a15c9b000d639bd0d58d0c177e6de9d47346.tar.gz dexon-sol-tools-f663a15c9b000d639bd0d58d0c177e6de9d47346.tar.bz2 dexon-sol-tools-f663a15c9b000d639bd0d58d0c177e6de9d47346.tar.lz dexon-sol-tools-f663a15c9b000d639bd0d58d0c177e6de9d47346.tar.xz dexon-sol-tools-f663a15c9b000d639bd0d58d0c177e6de9d47346.tar.zst dexon-sol-tools-f663a15c9b000d639bd0d58d0c177e6de9d47346.zip |
Fix tests
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r-- | test/exchange_wrapper_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index debc8cced..77c78470b 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -178,9 +178,9 @@ describe('ExchangeWrapper', () => { expect(await zeroEx.token.getBalanceAsync(takerTokenAddress, takerAddress)) .to.be.bignumber.equal(fillTakerAmountInBaseUnits); await zeroEx.exchange.fillOrderAsync(signedOrder, fillTakerAmountInBaseUnits, shouldCheckTransfer); - expect(await zeroEx.token.getBalanceAsync(addressBySymbol.MLN, takerAddress)) + expect(await zeroEx.token.getBalanceAsync(makerTokenAddress, takerAddress)) .to.be.bignumber.equal(fillTakerAmountInBaseUnits); - expect(await zeroEx.token.getBalanceAsync(addressBySymbol.GNT, takerAddress)) + expect(await zeroEx.token.getBalanceAsync(takerTokenAddress, takerAddress)) .to.be.bignumber.equal(0); }); }); |