git.delta.rocks / unique-network / refs/commits / 48a519d4d25b

difftreelog

Fix tests

Max Andreev2023-01-13parent: #fa10a01.patch.diff
in: master

1 file changed

modifiedtests/src/eth/tokens/callMethodsERC721.test.tsdiffbeforeafterboth
112112
113 const result = await collection.methods.mint(caller).send();113 const result = await collection.methods.mint(caller).send();
114 const tokenId = result.events.Transfer.returnValues.tokenId;114 const tokenId = result.events.Transfer.returnValues.tokenId;
115 const tokenContract = await helper.ethNativeContract.rftTokenById(collectionId, tokenId, caller);115 const tokenContract = await helper.ethNativeContract.rftTokenById(collectionId, tokenId, caller, true);
116116
117 await tokenContract.methods.repartition(2).send();117 await tokenContract.methods.repartition(2).send();
118 await tokenContract.methods.transfer(receiver, 1).send();118 await tokenContract.methods.transfer(receiver, 1).send();