diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-07 17:04:42 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-07 17:04:42 +0800 |
commit | 9daca6a4be95a87a63e293300d0768e3e63162d2 (patch) | |
tree | ffa51a7275532557a6bd5097f1ced3a19b0725d0 /test | |
parent | 56dc33f3a6ef0a9ae00d62d816000dab4cfea07f (diff) | |
download | dexon-sol-tools-9daca6a4be95a87a63e293300d0768e3e63162d2.tar dexon-sol-tools-9daca6a4be95a87a63e293300d0768e3e63162d2.tar.gz dexon-sol-tools-9daca6a4be95a87a63e293300d0768e3e63162d2.tar.bz2 dexon-sol-tools-9daca6a4be95a87a63e293300d0768e3e63162d2.tar.lz dexon-sol-tools-9daca6a4be95a87a63e293300d0768e3e63162d2.tar.xz dexon-sol-tools-9daca6a4be95a87a63e293300d0768e3e63162d2.tar.zst dexon-sol-tools-9daca6a4be95a87a63e293300d0768e3e63162d2.zip |
Address feedback
Diffstat (limited to 'test')
-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 a60494a09..3a3ec1ca7 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -158,7 +158,7 @@ describe('ExchangeWrapper', () => { )).to.be.rejectedWith(ExchangeContractErrs.TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER); }); it('should throw when order is expired', async () => { - const expirationInPast = new BigNumber(42); + const expirationInPast = new BigNumber(1496826058); const fillableAmount = new BigNumber(5); const signedOrder = await fillScenarios.createFillableSignedOrderAsync( makerTokenAddress, takerTokenAddress, makerAddress, takerAddress, fillableAmount, expirationInPast, @@ -350,7 +350,7 @@ describe('ExchangeWrapper', () => { .to.be.rejectedWith(ExchangeContractErrs.ORDER_CANCEL_AMOUNT_ZERO); }); it('should throw when order is expired', async () => { - const expirationInPast = new BigNumber(42); + const expirationInPast = new BigNumber(1496826058); const expiredSignedOrder = await fillScenarios.createFillableSignedOrderAsync( makerTokenAddress, takerTokenAddress, makerAddress, takerAddress, fillableAmount, expirationInPast, ); |