difftreelog
test remove outdated createMultipleItemsEx check
in: master
`RefungibleMultipleItems` no longer allows to provide multiple users for single token
1 file changed
tests/src/createMultipleItemsEx.test.tsdiffbeforeafterboth393 });393 });394 });394 });395396 it('fails when trying to set multiple owners when creating multiple refungibles', async function() {397 await requirePallets(this, [Pallets.ReFungible]);398399 const collection = await createCollectionExpectSuccess({mode: {type: 'ReFungible'}});400401 await usingApi(async (api, privateKeyWrapper) => {402 const alice = privateKeyWrapper('//Alice');403 const bob = privateKeyWrapper('//Bob');404 // Polkadot requires map, and yet requires keys to be JSON encoded405 const users = new Map();406 users.set(JSON.stringify({substrate: alice.address}), 1);407 users.set(JSON.stringify({substrate: bob.address}), 1);408409 // TODO: better error message?410 await expect(executeTransaction(api, alice, api.tx.unique.createMultipleItemsEx(collection, {411 RefungibleMultipleItems: [412 {users},413 {users},414 ],415 }))).to.be.rejectedWith(/^refungible\.NotRefungibleDataUsedToMintFungibleCollectionToken$/);416 });417 });418});395});419396