From f627500649547942300719372ebdbc2113d7c1a1 Mon Sep 17 00:00:00 2001 From: NiftyMike Date: Tue, 19 Dec 2023 08:14:25 -0600 Subject: [PATCH] Update SupportsInterface.behavior.js (#4674) Co-authored-by: ernestognw --- test/token/ERC1155/ERC1155.behavior.js | 2 +- test/utils/introspection/SupportsInterface.behavior.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/token/ERC1155/ERC1155.behavior.js b/test/token/ERC1155/ERC1155.behavior.js index 8df30a81460..9f76fae2948 100644 --- a/test/token/ERC1155/ERC1155.behavior.js +++ b/test/token/ERC1155/ERC1155.behavior.js @@ -896,7 +896,7 @@ function shouldBehaveLikeERC1155([minter, firstTokenHolder, secondTokenHolder, m }); }); - shouldSupportInterfaces(['ERC165', 'ERC1155']); + shouldSupportInterfaces(['ERC165', 'ERC1155', 'ERC1155MetadataURI']); }); } diff --git a/test/utils/introspection/SupportsInterface.behavior.js b/test/utils/introspection/SupportsInterface.behavior.js index 7a6df2c1445..83b2645927c 100644 --- a/test/utils/introspection/SupportsInterface.behavior.js +++ b/test/utils/introspection/SupportsInterface.behavior.js @@ -26,6 +26,7 @@ const SIGNATURES = { 'safeTransferFrom(address,address,uint256,uint256,bytes)', 'safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)', ], + ERC1155MetadataURI: ['uri(uint256)'], ERC1155Receiver: [ 'onERC1155Received(address,address,uint256,uint256,bytes)', 'onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)',