Fix tests

This commit is contained in:
Fabio Berger
2018-06-22 14:13:44 +02:00
parent fbf840cb68
commit 76fd7f47eb

View File

@@ -817,7 +817,7 @@ describe('Exchange core', () => {
const takerAssetFillAmount = signedOrder.takerAssetAmount;
return expectRevertReasonOrAlwaysFailingTransactionAsync(
exchangeWrapper.fillOrderAsync(signedOrder, takerAddress, { takerAssetFillAmount }),
ContractLibErrors.OrderUnfillable,
ContractLibErrors.InvalidAmount,
);
});
@@ -840,7 +840,7 @@ describe('Exchange core', () => {
const takerAssetFillAmount = signedOrder.takerAssetAmount;
return expectRevertReasonOrAlwaysFailingTransactionAsync(
exchangeWrapper.fillOrderAsync(signedOrder, takerAddress, { takerAssetFillAmount }),
ContractLibErrors.OrderUnfillable,
ContractLibErrors.InvalidAmount,
);
});