Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Wolf <[email protected]>
  • Loading branch information
wolfy-nft committed Dec 9, 2024
1 parent 20d3908 commit 3fbb354
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/erc721m/ERC721MInitializableTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ contract ERC721MInitializableTest is Test {
assertEq(nft.isFrozen(), true);
}

function testUnfreeze() public {
vm.startPrank(owner);
nft.setFrozen(true);
assertEq(nft.isFrozen(), true);

nft.setFrozen(false);
assertEq(nft.isFrozen(), false);
}

function testSetBaseURI() public {
vm.startPrank(owner);
nft.setBaseURI("new_base_uri_");
Expand Down

0 comments on commit 3fbb354

Please sign in to comment.