difftreelog
fix use burnFrom in burnItem test with admin rights
in: master
1 file changed
tests/src/burnItem.test.tsdiffbeforeafterboth155 await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);155 await addCollectionAdminExpectSuccess(alice, collectionId, bob.address);156156157 await usingApi(async (api) => {157 await usingApi(async (api) => {158 const tx = api.tx.unique.burnItem(collectionId, tokenId, 1);158 const tx = api.tx.unique.burnFrom(collectionId, {Substrate: alice.address}, tokenId, 1);159 const events = await submitTransactionAsync(bob, tx);159 const events = await submitTransactionAsync(bob, tx);160 const result = getGenericResult(events);160 const result = getGenericResult(events);161161