Skip to content

Commit

Permalink
set max supply to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Sep 12, 2022
1 parent 81a2153 commit e666e85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/ERC721PartnerSeaDrop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ describe(`ERC721PartnerSeaDrop (v${VERSION})`, function () {
});

it("Should only let the owner set the provenance hash", async () => {
await token.setMaxSupply(1);
expect(await token.provenanceHash()).to.equal(ethers.constants.HashZero);

const defaultProvenanceHash = `0x${"0".repeat(64)}`;
Expand Down
1 change: 1 addition & 0 deletions test/ERC721SeaDrop.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ describe(`ERC721SeaDrop (v${VERSION})`, function () {
});

it("Should only let the owner set the provenance hash", async () => {
await token.setMaxSupply(1);
expect(await token.provenanceHash()).to.equal(ethers.constants.HashZero);

const defaultProvenanceHash = `0x${"0".repeat(64)}`;
Expand Down

0 comments on commit e666e85

Please sign in to comment.