Migrate Ownable tests (#4657)

Co-authored-by: ernestognw <ernestognw@gmail.com>
This commit is contained in:
Hadrien Croubois
2023-10-17 10:05:58 +02:00
committed by GitHub
parent aed22fbc22
commit 149e1b79fe
13 changed files with 1248 additions and 168 deletions

View File

@ -108,7 +108,7 @@ function shouldBehaveLikeERC2981() {
const token2Info = await this.token.royaltyInfo(this.tokenId2, this.salePrice);
// must be different even at the same this.salePrice
expect(token1Info[1]).to.not.be.equal(token2Info.royaltyFraction);
expect(token1Info[1]).to.not.be.bignumber.equal(token2Info[1]);
});
it('reverts if invalid parameters', async function () {