@0x/contracts-utils: Fix failing tests due to RevertError behavior changes.

This commit is contained in:
Lawrence Forman
2019-08-30 02:39:33 -04:00
committed by Lawrence Forman
parent f601329a47
commit b78705120e
2 changed files with 14 additions and 19 deletions

View File

@@ -130,7 +130,7 @@ describe('Authorizable', () => {
constants.AWAIT_TRANSACTION_MINED_MS,
);
const index = new BigNumber(1);
const expectedError = new AuthorizableRevertErrors.IndexOutOfBoundsError(index, constants.ZERO_AMOUNT);
const expectedError = new AuthorizableRevertErrors.IndexOutOfBoundsError(index, index);
const tx = authorizable.removeAuthorizedAddressAtIndex.sendTransactionAsync(address, index, {
from: owner,
});