diff --git a/test/core/KnownOriginDigitalAssetV3.test.js b/test/core/KnownOriginDigitalAssetV3.test.js index 44ecd1e6..77db7f1d 100644 --- a/test/core/KnownOriginDigitalAssetV3.test.js +++ b/test/core/KnownOriginDigitalAssetV3.test.js @@ -160,7 +160,7 @@ contract('KnownOriginDigitalAssetV3 test', function (accounts) { it('batch minted - cannot send to zero address', async () => { await expectRevert( this.token.transferFrom(owner, ZERO_ADDRESS, firstEditionTokenId, {from: owner}), - 'ERC721_Invalid to address' + 'Invalid to address' ); }); @@ -301,7 +301,7 @@ contract('KnownOriginDigitalAssetV3 test', function (accounts) { it('batch minted - cannot send to zero address', async () => { await expectRevert( this.token.transferFrom(owner, ZERO_ADDRESS, firstEditionTokenId, {from: owner}), - 'ERC721_Invalid to address' + 'Invalid to address' ); }); @@ -748,7 +748,7 @@ contract('KnownOriginDigitalAssetV3 test', function (accounts) { // covering this here to prove you can not reset the zero address and go back to a token already with a primary sale await this.token.transferFrom(collectorA, collectorB, firstEditionTokenId, {from: collectorA}); // sell one await expectRevert(this.token.transferFrom(collectorB, ZERO_ADDRESS, firstEditionTokenId, {from: collectorB}), - 'ERC721_Invalid to address' + 'Invalid to address' ); // send back }); }); @@ -893,7 +893,7 @@ contract('KnownOriginDigitalAssetV3 test', function (accounts) { // covering this here to prove you can not reset the zero address and go back to a token already with a primary sale await this.token.transferFrom(collectorA, collectorB, firstEditionTokenId, {from: collectorA}); // sell one await expectRevert(this.token.transferFrom(collectorB, ZERO_ADDRESS, firstEditionTokenId, {from: collectorB}), - 'ERC721_Invalid to address' + 'Invalid to address' ); // send back }); }); diff --git a/test/sanity/ERC721.test.js b/test/sanity/ERC721.test.js index 53ef92b4..993f6f17 100644 --- a/test/sanity/ERC721.test.js +++ b/test/sanity/ERC721.test.js @@ -419,7 +419,7 @@ contract('ERC721 baseline tests', function (accounts) { it('reverts', async () => { await expectRevert( transferFunction.call(this, owner, ZERO_ADDRESS, tokenId, {from: owner}), - 'ERC721_Invalid to address', + 'Invalid to address', ); }); }); @@ -944,7 +944,7 @@ contract('ERC721 baseline tests', function (accounts) { it('reverts', async () => { await expectRevert( transferFunction.call(this, owner, ZERO_ADDRESS, tokenId, {from: owner}), - 'ERC721_Invalid to address', + 'Invalid to address', ); }); }); @@ -1469,7 +1469,7 @@ contract('ERC721 baseline tests', function (accounts) { it('reverts', async () => { await expectRevert( transferFunction.call(this, owner, ZERO_ADDRESS, tokenId, {from: owner}), - 'ERC721_Invalid to address', + 'Invalid to address', ); }); }); diff --git a/test/sanity/OZ_ERC721.test.js b/test/sanity/OZ_ERC721.test.js index 6dcb1572..230504fb 100644 --- a/test/sanity/OZ_ERC721.test.js +++ b/test/sanity/OZ_ERC721.test.js @@ -317,7 +317,7 @@ contract('OpenZeppelin ERC721 spec test', (accounts) => { it('reverts', async () => { await expectRevert( transferFunction.call(this, owner, ZERO_ADDRESS, tokenId, {from: owner}), - wrapReason('ERC721_Invalid to address'), + wrapReason('Invalid to address'), ); }); });