aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-02 23:38:47 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-02 23:38:47 +0800
commite5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b (patch)
tree5359afee680521dfc2adb1f38ab988bd1792130f /test/exchange_wrapper_test.ts
parent0f7bd0597234dbeafcee31e6f715f3c2004696df (diff)
downloaddexon-sol-tools-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.tar
dexon-sol-tools-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.tar.gz
dexon-sol-tools-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.tar.bz2
dexon-sol-tools-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.tar.lz
dexon-sol-tools-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.tar.xz
dexon-sol-tools-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.tar.zst
dexon-sol-tools-e5cc0e0562eccf67eff9cf0521c4884ffc3b0f3b.zip
Rename NOT_A_TAKER to TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 76601d1b3..d8934d409 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -147,7 +147,7 @@ describe('ExchangeWrapper', () => {
);
return expect(zeroEx.exchange.fillOrderAsync(
signedOrder, fillTakerAmount, shouldCheckTransfer,
- )).to.be.rejectedWith(FillOrderValidationErrs.NOT_A_TAKER);
+ )).to.be.rejectedWith(FillOrderValidationErrs.TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER);
});
it('should throw when order is expired', async () => {
const expirationInPast = new BigNumber(42);