From 94acd92c562a745dbf4a32f05ea2e86395d4275a Mon Sep 17 00:00:00 2001 From: PraetorP Date: Fri, 16 Dec 2022 17:35:50 +0000 Subject: [PATCH] fix: test `NFT: collectionNestingRestrictedCollectionIds() & collectionNestingPermissions` --- --- a/tests/src/eth/nesting/nest.test.ts +++ b/tests/src/eth/nesting/nest.test.ts @@ -62,9 +62,9 @@ expect(await contract.methods.collectionNestingRestrictedCollectionIds().call({from: owner})).to.be.like([true, []]); await contract.methods.setCollectionNesting(true, [unnsetedCollectionAddress]).send({from: owner}); expect(await contract.methods.collectionNestingRestrictedCollectionIds().call({from: owner})).to.be.like([true, [unnestedCollsectionId.toString()]]); - expect(await contract.methods.collectionNestingPermissions().call({from: owner})).to.be.like([['0', false], ['1', true]]); + expect(await contract.methods.collectionNestingPermissions().call({from: owner})).to.be.like([['1', false], ['0', true]]); await contract.methods.setCollectionNesting(false).send({from: owner}); - expect(await contract.methods.collectionNestingPermissions().call({from: owner})).to.be.like([['0', false], ['1', false]]); + expect(await contract.methods.collectionNestingPermissions().call({from: owner})).to.be.like([['1', false], ['0', false]]); }); itEth('NFT: allows an Owner to nest/unnest their token (Restricted nesting)', async ({helper}) => { -- gitstuff