From c149ce8da40c4bae2ced424b74fad5dcb07b73eb Mon Sep 17 00:00:00 2001 From: Michalis Kargakis Date: Wed, 14 Feb 2024 11:02:44 +0100 Subject: [PATCH] Test nastier case --- test/DynamicTokenURI.t.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/DynamicTokenURI.t.sol b/test/DynamicTokenURI.t.sol index 8fff473..3bbd588 100644 --- a/test/DynamicTokenURI.t.sol +++ b/test/DynamicTokenURI.t.sol @@ -125,6 +125,9 @@ contract DynamicTokenURITest is Test { vm.prank(address(token2)); vm.expectRevert("extension not configured"); extension.approveTransfer(address(token2), alice, bob, 1); + vm.prank(address(token2)); + vm.expectRevert("extension not configured"); + extension.approveTransfer(address(token), alice, bob, 1); } function testCannotCallSetApproveTransfer() public {