Skip to content

Commit

Permalink
fix: fix tests (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
arr00 authored Aug 5, 2024
1 parent 3ac9f5d commit 6a52e88
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions test/NFTMint.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ contract NFTMintTest is TestBase {
feeRecipient: payable(address(this)),
name: "My Token Name",
imageURI: "image here",
description: "This is a description"
description: "This is a description",
royaltyAmountBps: 150
});

vm.expectRevert(NFTMint.NFTMint_InvalidExpiration.selector);
Expand Down Expand Up @@ -111,7 +112,8 @@ contract NFTMintTest is TestBase {
feeRecipient: payable(address(this)),
name: "My Token Name",
imageURI: "image here",
description: "This is a description"
description: "This is a description",
royaltyAmountBps: 150
});

vm.expectRevert(NFTMint.NFTMint_InvalidPerWalletLimit.selector);
Expand Down Expand Up @@ -142,7 +144,8 @@ contract NFTMintTest is TestBase {
feeRecipient: payable(address(this)),
name: "My Token Name",
imageURI: "image here",
description: "This is a description"
description: "This is a description",
royaltyAmountBps: 150
});

vm.expectRevert(NFTMint.NFTMint_InvalidMaxMints.selector);
Expand Down Expand Up @@ -173,7 +176,8 @@ contract NFTMintTest is TestBase {
feeRecipient: payable(address(this)),
name: "My Token Name",
imageURI: "image here",
description: "This is a description"
description: "This is a description",
royaltyAmountBps: 150
});

vm.expectRevert(NFTMint.NFTMint_InvalidOwner.selector);
Expand Down Expand Up @@ -204,7 +208,8 @@ contract NFTMintTest is TestBase {
feeRecipient: payable(address(0)),
name: "My Token Name",
imageURI: "image here",
description: "This is a description"
description: "This is a description",
royaltyAmountBps: 150
});

vm.expectRevert(NFTMint.NFTMint_InvalidFeeRecipient.selector);
Expand Down

0 comments on commit 6a52e88

Please sign in to comment.