From e26460b66f05d356ed494aecca413ce3f3420c11 Mon Sep 17 00:00:00 2001 From: Alex Saft Date: Sat, 15 Oct 2022 21:06:28 +0000 Subject: [PATCH] test: fixed nonFungibleProxy: rolled back to proxy contract mintWithTokenURI version --- --- a/tests/src/eth/proxy/nonFungibleProxy.test.ts +++ b/tests/src/eth/proxy/nonFungibleProxy.test.ts @@ -111,7 +111,8 @@ await collectionEvmOwned.methods.addCollectionAdmin(contract.options.address).send(); { - const result = await contract.methods.mintWithTokenURI(receiver, 'Test URI').send({from: caller}); + const nextTokenId = await contract.methods.nextTokenId().call() + const result = await contract.methods.mintWithTokenURI(receiver, nextTokenId, 'Test URI').send({from: caller}); const tokenId = result.events.Transfer.returnValues.tokenId; expect(tokenId).to.be.equal('1'); -- gitstuff