Skip to content

Commit

Permalink
fix foundry test
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Apr 19, 2024
1 parent f0bb777 commit c7c34b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/foundry/SeaDrop-mintAllowList.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ contract ERC721DropTest is TestHelper {
args.allowList[i] != args.minter
);
}
vm.assume(args.minter != address(token));
_;
}

Expand Down
1 change: 1 addition & 0 deletions test/foundry/SeaDrop-mintAllowedTokenHolder.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ contract ERC721DropTest is TestHelper {
args.minter != creator &&
args.feeRecipient != creator
);
vm.assume(args.minter != address(token));
_;
}

Expand Down
1 change: 1 addition & 0 deletions test/foundry/SeaDrop-mintSigned.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ contract SeaDropMintSignedTest is TestHelper {
args.feeRecipient.code.length == 0 && args.feeRecipient > address(9)
);
vm.assume(args.minter != address(0) && args.payer != address(0));
vm.assume(args.minter != address(token));
_;
}

Expand Down
1 change: 1 addition & 0 deletions test/foundry/utils/TestHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ contract TestHelper is Test, SeaDropErrorsAndEvents {
args.minter != creator &&
args.feeRecipient != creator
);
vm.assume(args.minter != address(token));
_;
}

Expand Down

0 comments on commit c7c34b2

Please sign in to comment.