git.delta.rocks / unique-network / refs/commits / 977367ad4524

difftreelog

only removed. skip used on tests dependent on feature=limit-testing

Igor Kozyrev2021-10-04parent: #854f33e.patch.diff
in: master

1 file changed

modifiedtests/src/limits.test.tsdiffbeforeafterboth
29 });29 });
30 });30 });
3131
32 it('Collection limits allow greater number than chain limits, chain limits are enforced', async () => {32 it.skip('Collection limits allow greater number than chain limits, chain limits are enforced', async () => {
33 33
34 const collectionId = await createCollectionExpectSuccess({ mode: { type: 'NFT' } });34 const collectionId = await createCollectionExpectSuccess({ mode: { type: 'NFT' } });
35 await setCollectionLimitsExpectSuccess(Alice, collectionId, { AccountTokenOwnershipLimit: 20 });35 await setCollectionLimitsExpectSuccess(Alice, collectionId, { AccountTokenOwnershipLimit: 20 });
59 });59 });
60 });60 });
6161
62 it('Collection limits allow greater number than chain limits, chain limits are enforced', async () => { 62 it.skip('Collection limits allow greater number than chain limits, chain limits are enforced', async () => {
63 const collectionId = await createCollectionExpectSuccess({mode: {type: 'ReFungible' }});63 const collectionId = await createCollectionExpectSuccess({mode: {type: 'ReFungible' }});
64 await setCollectionLimitsExpectSuccess(Alice, collectionId, { AccountTokenOwnershipLimit: 20 });64 await setCollectionLimitsExpectSuccess(Alice, collectionId, { AccountTokenOwnershipLimit: 20 });
65 for(let i = 0; i < 10; i++){65 for(let i = 0; i < 10; i++){
278 });278 });
279 });279 });
280280
281 it('Limits have 0 in tokens per address field, the chain limits are applied', async () => { 281 it.skip('Limits have 0 in tokens per address field, the chain limits are applied', async () => {
282 const collectionId = await createCollectionExpectSuccess({ mode: { type: 'NFT' } });282 const collectionId = await createCollectionExpectSuccess({ mode: { type: 'NFT' } });
283 await setCollectionLimitsExpectSuccess(Alice, collectionId, { AccountTokenOwnershipLimit: 0 });283 await setCollectionLimitsExpectSuccess(Alice, collectionId, { AccountTokenOwnershipLimit: 0 });
284 for(let i = 0; i < 10; i++){284 for(let i = 0; i < 10; i++){
305 });305 });
306});306});
307307
308describe.only('Collection zero limits (Fungible)', () => {308describe('Collection zero limits (Fungible)', () => {
309 let Alice: IKeyringPair;309 let Alice: IKeyringPair;
310 let Bob: IKeyringPair;310 let Bob: IKeyringPair;
311 let Charlie: IKeyringPair;311 let Charlie: IKeyringPair;
336 });336 });
337});337});
338338
339describe.only('Collection zero limits (ReFungible)', () => {339describe('Collection zero limits (ReFungible)', () => {
340 let Alice: IKeyringPair;340 let Alice: IKeyringPair;
341 let Bob: IKeyringPair;341 let Bob: IKeyringPair;
342 let Charlie: IKeyringPair;342 let Charlie: IKeyringPair;
349 });349 });
350 });350 });
351351
352 it('Limits have 0 in tokens per address field, the chain limits are applied', async () => { 352 it.skip('Limits have 0 in tokens per address field, the chain limits are applied', async () => {
353 const collectionId = await createCollectionExpectSuccess({mode: {type: 'ReFungible' }});353 const collectionId = await createCollectionExpectSuccess({mode: {type: 'ReFungible' }});
354 await setCollectionLimitsExpectSuccess(Alice, collectionId, { AccountTokenOwnershipLimit: 0 });354 await setCollectionLimitsExpectSuccess(Alice, collectionId, { AccountTokenOwnershipLimit: 0 });
355 for(let i = 0; i < 10; i++){355 for(let i = 0; i < 10; i++){