Rename EXPIRED to FILL_ORDER_EXPIRED

This commit is contained in:
Leonid Logvinov
2017-06-02 17:40:06 +02:00
parent f5158eebf3
commit 7fd84e29ab
3 changed files with 3 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ describe('ExchangeWrapper', () => {
zeroEx.setTransactionSenderAccount(takerAddress);
return expect(zeroEx.exchange.fillOrderAsync(
signedOrder, fillTakerAmount, shouldCheckTransfer,
)).to.be.rejectedWith(FillOrderValidationErrs.EXPIRED);
)).to.be.rejectedWith(FillOrderValidationErrs.FILL_ORDER_EXPIRED);
});
describe('should throw when not enough balance or allowance to fulfill the order', () => {
const fillableAmount = new BigNumber(5);