aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 22:02:36 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-06 22:02:36 +0800
commit5412e803159a1d944297ab1fe1a49896651cedd6 (patch)
tree035543cd3039f7919e39c23dc1d21d25ddb48fbf /test/exchange_wrapper_test.ts
parent08b7c24bbf23685814c5bba5148577022e40e8b0 (diff)
parent8ec3bec5b3de726fbf2cc828e179ac2ed1029d9f (diff)
downloaddexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.gz
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.bz2
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.lz
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.xz
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.tar.zst
dexon-sol-tools-5412e803159a1d944297ab1fe1a49896651cedd6.zip
Merge branch 'master' into cancelAsync
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 59420fc55..48d10c1e4 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -152,8 +152,9 @@ describe('ExchangeWrapper', () => {
const signedOrder = await fillScenarios.createFillableSignedOrderAsync(
makerTokenAddress, takerTokenAddress, makerAddress, takerAddress, fillableAmount,
);
+ const nonExistentSenderAddress = userAddresses[6];
return expect(zeroEx.exchange.fillOrderAsync(
- signedOrder, fillTakerAmount, shouldCheckTransfer, takerAddress,
+ signedOrder, fillTakerAmount, shouldCheckTransfer, nonExistentSenderAddress,
)).to.be.rejectedWith(ExchangeContractErrs.TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER);
});
it('should throw when order is expired', async () => {