Skip to content

Commit

Permalink
fixed preminter test
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan committed Aug 14, 2023
1 parent d4b2831 commit 13185a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/premint/ZoraCreator1155Preminter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ contract ZoraCreator1155PreminterTest is Test {
bytes memory signature = _signPremint(premintConfig, creatorPrivateKey, chainId);

// now call the premint function, using the same config that was used to generate the digest, and the signature
vm.expectRevert(ZoraCreator1155Impl.PremintDeleted.selector);
vm.expectRevert(ZoraCreator1155Attribution.PremintDeleted.selector);
vm.prank(premintExecutor);
uint256 newTokenId = preminter.premint(premintConfig, signature, quantityToMint, comment);

Expand Down Expand Up @@ -399,7 +399,7 @@ contract ZoraCreator1155PreminterTest is Test {
bytes memory signature = _signPremint(premintConfig, creatorPrivateKey, chainId);

if (shouldRevert) {
vm.expectRevert(ZoraCreator1155Preminter.MintNotYetStarted.selector);
vm.expectRevert(ZoraCreator1155Attribution.MintNotYetStarted.selector);
}
vm.prank(premintExecutor);
preminter.premint(premintConfig, signature, quantityToMint, comment);
Expand Down

0 comments on commit 13185a7

Please sign in to comment.