Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
  • Loading branch information
wolfy-nft committed Jan 20, 2025
1 parent cf2ad60 commit b0d1509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/erc721m/clones/ERC721MagicDropCloneable.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ contract ERC721MagicDropCloneableTest is Test {

function testMintPublicMaxSupplyExceededReverts() public {
vm.warp(publicStart + 1);
vm.deal(user, 5.005 ether);
vm.deal(user, 10.01 ether);

vm.prank(owner);
// unlimited wallet limit for the purpose of this test
token.setWalletLimit(0);

vm.prank(user);
vm.expectRevert(IMagicDropMetadata.CannotExceedMaxSupply.selector);
token.mintPublic{value: 5.005 ether}(user, 1001);
token.mintPublic{value: 10.01 ether}(user, 1001);
}

function testMintPublicOverpayReverts() public {
Expand Down

0 comments on commit b0d1509

Please sign in to comment.