--- a/tests/src/eth/collectionSponsoring.test.ts +++ b/tests/src/eth/collectionSponsoring.test.ts @@ -357,7 +357,7 @@ const contract = helper.ethNativeContract.collection(collectionAddress, 'rft', minter, true); await collection.addToAllowList(alice, {Ethereum: minter}); - helper.collection.addAdmin(alice, collection.collectionId, {Ethereum: owner}); + await collection.addAdmin(alice, {Ethereum: owner}); const collectionHelpers = helper.ethNativeContract.collectionHelpers(owner); await collectionHelpers.methods.makeCollectionERC721MetadataCompatible(collectionAddress, 'base/') .send();