Skip to content

Commit

Permalink
fix: update test names
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabellaSmallcombe committed Oct 11, 2023
1 parent 7906607 commit e30297c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/ZoraNFTCreatorV1_Fork.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ contract ZoraNFTCreatorV1Test is Test, ForkHelper {
creator = ZoraNFTCreatorV1(getDeployment().factory);
verifyAddressesFork(chainName);
deployCore();
forkContractNameWithRevert();
forkContractNameSucceed();
revertsWhenContractNameMismatches();
forkUpgradeSucceedsWithMatchingContractName();
}
}

function forkContractNameWithRevert() internal {
function revertsWhenContractNameMismatches() internal {
ZoraNFTCreatorV1 newCreatorImpl = new ZoraNFTCreatorV1(address(dropImpl), editionMetadataRenderer, dropMetadataRenderer);
address owner = creator.owner();

Expand All @@ -218,7 +218,7 @@ contract ZoraNFTCreatorV1Test is Test, ForkHelper {
creator.upgradeTo(address(mockMetadata));
}

function forkContractNameSucceed() internal {
function forkUpgradeSucceedsWithMatchingContractName() internal {
ZoraNFTCreatorV1 newCreatorImpl = new ZoraNFTCreatorV1(address(dropImpl), editionMetadataRenderer, dropMetadataRenderer);
address owner = creator.owner();

Expand Down

0 comments on commit e30297c

Please sign in to comment.