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

difftreelog

fix(rmrk) test

Daniel Shiposha2022-06-10parent: #11972c6.patch.diff
in: master

1 file changed

modifiedtests/src/rmrk/rmrk.test.tsdiffbeforeafterboth
225 await expect(executeTransaction(api, alice, txChangeOwner), 'changing collection issuer')225 await expect(executeTransaction(api, alice, txChangeOwner), 'changing collection issuer')
226 .to.be.rejectedWith(/rmrkCore\.CollectionUnknown/);226 .to.be.rejectedWith(/rmrkCore\.CollectionUnknown/);
227227
228 const maxBurns = 10;
228 const txBurnItem = api.tx.rmrkCore.burnNft(collectionId, nftId);229 const txBurnItem = api.tx.rmrkCore.burnNft(collectionId, nftId, maxBurns);
229 await expect(executeTransaction(api, alice, txBurnItem), 'burning NFT').to.be.rejectedWith(/rmrkCore\.CollectionUnknown/);230 await expect(executeTransaction(api, alice, txBurnItem), 'burning NFT').to.be.rejectedWith(/rmrkCore\.CollectionUnknown/);
230 });231 });
231 });232 });