Fix tests

This commit is contained in:
Amir Bandeali
2019-09-03 19:03:27 -07:00
parent d1eb414749
commit 90ac5ec577
7 changed files with 45 additions and 56 deletions

View File

@@ -387,7 +387,8 @@ blockchainTests('Isolated fillOrder() tests', env => {
const order = createOrder({
takerAddress: randomAddress(),
});
const expectedError = new ExchangeRevertErrors.InvalidTakerError(
const expectedError = new ExchangeRevertErrors.ExchangeInvalidContextError(
ExchangeRevertErrors.ExchangeContextErrorCodes.InvalidTaker,
exchange.getOrderHash(order),
takerAddress,
);
@@ -398,7 +399,8 @@ blockchainTests('Isolated fillOrder() tests', env => {
const order = createOrder({
senderAddress: randomAddress(),
});
const expectedError = new ExchangeRevertErrors.InvalidSenderError(
const expectedError = new ExchangeRevertErrors.ExchangeInvalidContextError(
ExchangeRevertErrors.ExchangeContextErrorCodes.InvalidSender,
exchange.getOrderHash(order),
takerAddress,
);