difftreelog
test(eth-nesting) remove redundant Substrate call
in: master
1 file changed
tests/src/eth/nesting/nest.test.tsdiffbeforeafterboth18 const {collectionIdAddress: collectionAddress, collectionId} = await getCollectionAddressFromResult(api, result);18 const {collectionIdAddress: collectionAddress, collectionId} = await getCollectionAddressFromResult(api, result);191920 const contract = new web3.eth.Contract(nonFungibleAbi as any, collectionAddress, {from: owner, ...GAS_ARGS});20 const contract = new web3.eth.Contract(nonFungibleAbi as any, collectionAddress, {from: owner, ...GAS_ARGS});21 await contract.methods.addCollectionAdmin(owner).send();22 await contract.methods.setCollectionNesting(true).send({from: owner});21 await contract.methods.setCollectionNesting(true).send({from: owner});232224 return {collectionId, collectionAddress, contract};23 return {collectionId, collectionAddress, contract};