Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iainnash committed Jul 20, 2023
1 parent e5ccd9a commit 8419a15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/ZoraNFTCreatorV1_Fork.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ contract ZoraNFTCreatorV1Test is Test, ForkHelper {
EditionMetadataRenderer public editionMetadataRenderer;
DropMetadataRenderer public dropMetadataRenderer;

function defaultSalesConfiguration() internal returns (IERC721Drop.SalesConfiguration memory) {
function makeDefaultSalesConfiguration(uint104 price) internal returns (IERC721Drop.SalesConfiguration memory) {
return IERC721Drop.SalesConfiguration({
publicSaleStart: 0,
publicSaleEnd: type(uint64).max,
presaleStart: 0,
presaleEnd: 0,
publicSalePrice: 0,
publicSalePrice: price,
maxSalePurchasePerAddress: 0,
presaleMerkleRoot: bytes32(0)
});
Expand Down Expand Up @@ -96,7 +96,7 @@ contract ZoraNFTCreatorV1Test is Test, ForkHelper {
500,
DEFAULT_FUNDS_RECIPIENT_ADDRESS,
DEFAULT_FUNDS_RECIPIENT_ADDRESS,
defaultSalesConfiguration(),
makeDefaultSalesConfiguration(0.1 ether),
"desc",
"animation",
"image"
Expand All @@ -117,7 +117,7 @@ contract ZoraNFTCreatorV1Test is Test, ForkHelper {
1000,
100,
DEFAULT_FUNDS_RECIPIENT_ADDRESS,
defaultSalesConfiguration(),
makeDefaultSalesConfiguration(0),
"metadata_uri",
"metadata_contract_uri"
);
Expand All @@ -136,7 +136,7 @@ contract ZoraNFTCreatorV1Test is Test, ForkHelper {
1000,
100,
DEFAULT_FUNDS_RECIPIENT_ADDRESS,
defaultSalesConfiguration(),
makeDefaultSalesConfiguration(0),
mockRenderer,
""
);
Expand Down

0 comments on commit 8419a15

Please sign in to comment.