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

difftreelog

fix PR

Trubnikov Sergey2022-12-13parent: #8b0ce93.patch.diff
in: master

1 file changed

modifiedtests/src/eth/events.test.tsdiffbeforeafterboth
68 unsubscribe();68 unsubscribe();
69}69}
7070
71async function testCollectionPropertySetAndCollectionPropertyDeleted(helper: EthUniqueHelper, mode: TCollectionMode) {71async function testCollectionPropertySetAndDeleted(helper: EthUniqueHelper, mode: TCollectionMode) {
72 const owner = await helper.eth.createAccountWithBalance(donor);72 const owner = await helper.eth.createAccountWithBalance(donor);
73 const {collectionAddress} = await helper.eth.createCollection(mode, owner, 'A', 'B', 'C');73 const {collectionAddress} = await helper.eth.createCollection(mode, owner, 'A', 'B', 'C');
74 const collection = await helper.ethNativeContract.collection(collectionAddress, mode, owner);74 const collection = await helper.ethNativeContract.collection(collectionAddress, mode, owner);
420 });420 });
421421
422 itEth('CollectionChanged event for CollectionPropertySet and CollectionPropertyDeleted', async ({helper}) => {422 itEth('CollectionChanged event for CollectionPropertySet and CollectionPropertyDeleted', async ({helper}) => {
423 await testCollectionPropertySetAndCollectionPropertyDeleted(helper, mode);423 await testCollectionPropertySetAndDeleted(helper, mode);
424 });424 });
425 425
426 itEth('CollectionChanged event for AllowListAddressAdded, AllowListAddressRemoved', async ({helper}) => {426 itEth('CollectionChanged event for AllowListAddressAdded, AllowListAddressRemoved', async ({helper}) => {
456 });456 });
457457
458 itEth('CollectionChanged event for CollectionPropertySet and CollectionPropertyDeleted', async ({helper}) => {458 itEth('CollectionChanged event for CollectionPropertySet and CollectionPropertyDeleted', async ({helper}) => {
459 await testCollectionPropertySetAndCollectionPropertyDeleted(helper, mode);459 await testCollectionPropertySetAndDeleted(helper, mode);
460 });460 });
461 461
462 itEth('CollectionChanged event for PropertyPermissionSet', async ({helper}) => {462 itEth('CollectionChanged event for PropertyPermissionSet', async ({helper}) => {
507 });507 });
508508
509 itEth('CollectionChanged event for CollectionPropertySet and CollectionPropertyDeleted', async ({helper}) => {509 itEth('CollectionChanged event for CollectionPropertySet and CollectionPropertyDeleted', async ({helper}) => {
510 await testCollectionPropertySetAndCollectionPropertyDeleted(helper, mode);510 await testCollectionPropertySetAndDeleted(helper, mode);
511 });511 });
512 512
513 itEth('CollectionChanged event for PropertyPermissionSet', async ({helper}) => {513 itEth('CollectionChanged event for PropertyPermissionSet', async ({helper}) => {