Fix hardhat tests by removing the author field.

This commit is contained in:
EmperorOrokuSaki 2022-12-15 21:07:36 +03:30
parent 54f665b572
commit 3351812acc
1 changed files with 524 additions and 526 deletions

View File

@ -64,7 +64,7 @@ describe('FleekERC721', () => {
MINT_PARAMS.externalUrl,
MINT_PARAMS.ens,
MINT_PARAMS.commitHash,
MINT_PARAMS.gitRepository,
MINT_PARAMS.gitRepository
);
expect(response.value).to.be.instanceOf(ethers.BigNumber);
@ -85,7 +85,7 @@ describe('FleekERC721', () => {
MINT_PARAMS.externalUrl,
MINT_PARAMS.ens,
MINT_PARAMS.commitHash,
MINT_PARAMS.gitRepository,
MINT_PARAMS.gitRepository
)
).to.be.revertedWith('FleekAccessControl: must have collection role');
});
@ -103,8 +103,7 @@ describe('FleekERC721', () => {
MINT_PARAMS.externalUrl,
MINT_PARAMS.ens,
MINT_PARAMS.commitHash,
MINT_PARAMS.gitRepository,
MINT_PARAMS.author
MINT_PARAMS.gitRepository
);
const tokenId = response.value.toNumber();
@ -138,7 +137,7 @@ describe('FleekERC721', () => {
MINT_PARAMS.externalUrl,
MINT_PARAMS.ens,
MINT_PARAMS.commitHash,
MINT_PARAMS.gitRepository,
MINT_PARAMS.gitRepository
);
tokenId = response.value.toNumber();
@ -199,8 +198,7 @@ describe('FleekERC721', () => {
MINT_PARAMS.externalUrl,
MINT_PARAMS.ens,
MINT_PARAMS.commitHash,
MINT_PARAMS.gitRepository,
MINT_PARAMS.author
MINT_PARAMS.gitRepository
);
tokenId = response.value.toNumber();