git.delta.rocks / unique-network / refs/commits / 56ba79b07e8f

difftreelog

fix reaname test

Trubnikov Sergey2022-12-13parent: #83ef547.patch.diff
in: master

1 file changed

modifiedtests/src/eth/events.test.tsdiffbeforeafterboth
243 unsubscribe();243 unsubscribe();
244}244}
245245
246async function testCollectionOwnedChanged(helper: EthUniqueHelper, mode: TCollectionMode) {246async function testCollectionOwnerChanged(helper: EthUniqueHelper, mode: TCollectionMode) {
247 const owner = await helper.eth.createAccountWithBalance(donor);247 const owner = await helper.eth.createAccountWithBalance(donor);
248 const newOwner = helper.ethCrossAccount.createAccount();248 const newOwner = helper.ethCrossAccount.createAccount();
249 const {collectionAddress} = await helper.eth.createCollection(mode, owner, 'A', 'B', 'C');249 const {collectionAddress} = await helper.eth.createCollection(mode, owner, 'A', 'B', 'C');
436 });436 });
437 437
438 itEth('CollectionChanged event for CollectionOwnerChanged', async ({helper}) => {438 itEth('CollectionChanged event for CollectionOwnerChanged', async ({helper}) => {
439 await testCollectionOwnedChanged(helper, mode);439 await testCollectionOwnerChanged(helper, mode);
440 });440 });
441 441
442 itEth('CollectionChanged event for CollectionPermissionSet', async ({helper}) => {442 itEth('CollectionChanged event for CollectionPermissionSet', async ({helper}) => {
476 });476 });
477 477
478 itEth('CollectionChanged event for CollectionOwnerChanged', async ({helper}) => {478 itEth('CollectionChanged event for CollectionOwnerChanged', async ({helper}) => {
479 await testCollectionOwnedChanged(helper, mode);479 await testCollectionOwnerChanged(helper, mode);
480 });480 });
481 481
482 itEth('CollectionChanged event for CollectionPermissionSet', async ({helper}) => {482 itEth('CollectionChanged event for CollectionPermissionSet', async ({helper}) => {
527 });527 });
528 528
529 itEth('CollectionChanged event for CollectionOwnerChanged', async ({helper}) => {529 itEth('CollectionChanged event for CollectionOwnerChanged', async ({helper}) => {
530 await testCollectionOwnedChanged(helper, mode);530 await testCollectionOwnerChanged(helper, mode);
531 });531 });
532 532
533 itEth('CollectionChanged event for CollectionPermissionSet', async ({helper}) => {533 itEth('CollectionChanged event for CollectionPermissionSet', async ({helper}) => {