diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-02 00:15:26 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-02 00:15:26 +0800 |
commit | 6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3 (patch) | |
tree | 5728731bda6feac4b340508d34ebc8aea77cb1b1 /test | |
parent | 389c18e98e2b5663b1732d7c34f9b21afef66e44 (diff) | |
download | dexon-0x-contracts-6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3.tar dexon-0x-contracts-6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3.tar.gz dexon-0x-contracts-6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3.tar.bz2 dexon-0x-contracts-6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3.tar.lz dexon-0x-contracts-6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3.tar.xz dexon-0x-contracts-6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3.tar.zst dexon-0x-contracts-6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3.zip |
Revert "Add test to check the balance"
This reverts commit 389c18e98e2b5663b1732d7c34f9b21afef66e44.
Diffstat (limited to 'test')
-rw-r--r-- | test/exchange_wrapper_test.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 6b2fd6477..ad5eba699 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -154,16 +154,6 @@ describe('ExchangeWrapper', () => { expect(zeroEx.exchange.fillOrderAsync(signedOrder, fillAmount, shouldCheckTransfer)) .to.be.rejectedWith(FillOrderValidationErrs.EXPIRED); }); - it('should throw when not enough balance', async () => { - const makerAmount = 10; - const takerAmount = 10; - const signedOrder = await orderFactory.createSignedOrderAsync(zeroEx, maker, taker, - makerAmount, addressBySymbol.MLN, takerAmount, addressBySymbol.GNT); - zeroEx.setDefaultAccount(taker); - const tooMuch = new BigNumber(6); - expect(zeroEx.exchange.fillOrderAsync(signedOrder, tooMuch, true)) - .to.be.rejectedWith(FillOrderValidationErrs.EXPIRED); - }); }); describe('successful fills', () => { it('should fill the valid order', async () => { |