git.delta.rocks / unique-network / refs/commits / e26460b66f05

difftreelog

test fixed nonFungibleProxy: rolled back to proxy contract mintWithTokenURI version

Alex Saft2022-10-15parent: #25ce448.patch.diff
in: master

1 file changed

modifiedtests/src/eth/proxy/nonFungibleProxy.test.tsdiffbeforeafterboth
111 await collectionEvmOwned.methods.addCollectionAdmin(contract.options.address).send();111 await collectionEvmOwned.methods.addCollectionAdmin(contract.options.address).send();
112112
113 {113 {
114 const nextTokenId = await contract.methods.nextTokenId().call()
114 const result = await contract.methods.mintWithTokenURI(receiver, 'Test URI').send({from: caller});115 const result = await contract.methods.mintWithTokenURI(receiver, nextTokenId, 'Test URI').send({from: caller});
115 const tokenId = result.events.Transfer.returnValues.tokenId;116 const tokenId = result.events.Transfer.returnValues.tokenId;
116 expect(tokenId).to.be.equal('1');117 expect(tokenId).to.be.equal('1');
117118