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

difftreelog

test remove invalid test

Yaroslav Bolyukin2021-10-28parent: #845ac6e.patch.diff
in: master

1 file changed

modifiedtests/src/setCollectionLimits.test.tsdiffbeforeafterboth
166 await expect(submitTransactionExpectFailAsync(bob, tx)).to.be.rejected;166 await expect(submitTransactionExpectFailAsync(bob, tx)).to.be.rejected;
167 });167 });
168 });168 });
169 it('execute setCollectionLimits with incorrect limits', async () => {
170 await usingApi(async (api: ApiPromise) => {
171 tx = api.tx.nft.setCollectionLimits(
172 collectionIdForTesting,
173 {
174 accountTokenOwnershipLimit: 'awdawd',
175 sponsorTransferTimeout: 'awd',
176 sponsoredDataSize: '12312312312312312',
177 tokenLimit: '-100',
178 },
179 );
180 await expect(submitTransactionExpectFailAsync(alice, tx)).to.be.rejected;
181 });
182 });
183169
184 it('fails when trying to enable OwnerCanTransfer after it was disabled', async () => {170 it('fails when trying to enable OwnerCanTransfer after it was disabled', async () => {
185 const collectionId = await createCollectionExpectSuccess();171 const collectionId = await createCollectionExpectSuccess();