Revert "Add test to check the balance"

This reverts commit 389c18e98e2b5663b1732d7c34f9b21afef66e44.
This commit is contained in:
Leonid Logvinov 2017-06-01 18:15:26 +02:00
parent 389c18e98e
commit 6ced554d9f
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -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 () => {