Skip to content

Commit

Permalink
remove should mint twice test
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Apr 15, 2023
1 parent c5886b4 commit 043dabd
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions test/ZKPSBT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,33 +151,6 @@ describe("ZKP SBT", () => {
});

describe("mint", () => {
it("should mint twice", async () => {
await zkpSBT
.connect(address1)
.mint(
address1.address,
authority.address,
signatureDate,
hashDataHex,
encryptedData,
signature
);
await zkpSBT
.connect(address1)
.mint(
address1.address,
authority.address,
signatureDate,
hashDataHex,
encryptedData,
signature
);

expect(await zkpSBT.totalSupply()).to.equal(2);
expect(await zkpSBT.tokenByIndex(0)).to.equal(0);
expect(await zkpSBT.tokenByIndex(1)).to.equal(1);
});

it("should mint from final user address", async () => {
const mintTx = await zkpSBT
.connect(address1)
Expand Down

0 comments on commit 043dabd

Please sign in to comment.