diff --git a/contracts/broker/CHANGELOG.json b/contracts/broker/CHANGELOG.json index 658b70f40a..a7a7c5f293 100644 --- a/contracts/broker/CHANGELOG.json +++ b/contracts/broker/CHANGELOG.json @@ -1,4 +1,13 @@ [ + { + "version": "1.1.5", + "changes": [ + { + "note": "Fix broken tests.", + "pr": 2591 + } + ] + }, { "timestamp": 1583220306, "version": "1.1.4", diff --git a/contracts/broker/test/gods_unchained_validator_test.ts b/contracts/broker/test/gods_unchained_validator_test.ts index 1e17f9bbad..965d6a977a 100644 --- a/contracts/broker/test/gods_unchained_validator_test.ts +++ b/contracts/broker/test/gods_unchained_validator_test.ts @@ -44,13 +44,13 @@ blockchainTests.resets('GodsUnchainedValidator unit tests', env => { const tokenId = getRandomInteger(0, constants.MAX_UINT256); await godsUnchained.setTokenProperties(tokenId, proto.plus(1), quality).awaitTransactionSuccessAsync(); const tx = validator.checkBrokerAsset(tokenId, propertyData).callAsync(); - expect(tx).to.revertWith('PROTO_MISMATCH'); + expect(tx).to.revertWith('GodsUnchainedValidator/PROTO_MISMATCH'); }); it("reverts if assetData quality doesn't match proeprtyData", async () => { const tokenId = getRandomInteger(0, constants.MAX_UINT256); await godsUnchained.setTokenProperties(tokenId, proto, quality.plus(1)).awaitTransactionSuccessAsync(); const tx = validator.checkBrokerAsset(tokenId, propertyData).callAsync(); - expect(tx).to.revertWith('QUALITY_MISMATCH'); + expect(tx).to.revertWith('GodsUnchainedValidator/QUALITY_MISMATCH'); }); }); });