git.delta.rocks / unique-network / refs/commits / 33b901169178

difftreelog

fix(test) new collection is not external

Fahrrader2022-06-08parent: #5772df7.patch.diff
in: master

1 file changed

modifiedtests/src/createCollection.test.tsdiffbeforeafterboth
88 });88 });
89 });89 });
9090
91 it('Create new collection is not read only', async () => {91 it('New collection is not external', async () => {
92 await usingApi(async api => {92 await usingApi(async api => {
93 const alice = privateKey('//Alice');93 const alice = privateKey('//Alice');
94 const tx = api.tx.unique.createCollectionEx({94 const tx = api.tx.unique.createCollectionEx({ });
95 readOnly: true,
96 });
97 const events = await submitTransactionAsync(alice, tx);95 const events = await submitTransactionAsync(alice, tx);
98 const result = getCreateCollectionResult(events);96 const result = getCreateCollectionResult(events);