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

difftreelog

fix properties test names

Daniel Shiposha2022-12-15parent: #8276f23.patch.diff
in: master

2 files changed

modifiedtests/src/nesting/collectionProperties.test.tsdiffbeforeafterboth
198 {mode: 'nft' as const, requiredPallets: []},198 {mode: 'nft' as const, requiredPallets: []},
199 {mode: 'rft' as const, requiredPallets: [Pallets.ReFungible]}, 199 {mode: 'rft' as const, requiredPallets: [Pallets.ReFungible]},
200 ].map(testCase =>200 ].map(testCase =>
201 itSub.ifWithPallets(`Modifying a collection property with different size correctly changes the consumed space (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {201 itSub.ifWithPallets(`Modifying a collection property with different sizes correctly changes the consumed space (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {
202 const propKey = 'tok-prop';202 const propKey = 'tok-prop';
203203
204 const collection = await helper[testCase.mode].mintCollection(alice);204 const collection = await helper[testCase.mode].mintCollection(alice);
modifiedtests/src/nesting/tokenProperties.test.tsdiffbeforeafterboth
325 {mode: 'nft' as const, storage: 'nonfungible' as const, pieces: undefined, requiredPallets: []},325 {mode: 'nft' as const, storage: 'nonfungible' as const, pieces: undefined, requiredPallets: []},
326 {mode: 'rft' as const, storage: 'refungible' as const, pieces: 100n, requiredPallets: [Pallets.ReFungible]}, 326 {mode: 'rft' as const, storage: 'refungible' as const, pieces: 100n, requiredPallets: [Pallets.ReFungible]},
327 ].map(testCase =>327 ].map(testCase =>
328 itSub.ifWithPallets(`Allows modifying a token property multiple times (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {328 itSub.ifWithPallets(`Allows modifying a token property multiple times with the same size (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {
329 const propKey = 'tok-prop';329 const propKey = 'tok-prop';
330330
331 const collection = await helper[testCase.mode].mintCollection(alice, {331 const collection = await helper[testCase.mode].mintCollection(alice, {
439 {mode: 'nft' as const, pieces: undefined, requiredPallets: []},439 {mode: 'nft' as const, pieces: undefined, requiredPallets: []},
440 {mode: 'rft' as const, pieces: 100n, requiredPallets: [Pallets.ReFungible]}, 440 {mode: 'rft' as const, pieces: 100n, requiredPallets: [Pallets.ReFungible]},
441 ].map(testCase =>441 ].map(testCase =>
442 itSub.ifWithPallets(`Modifying a token property with different size correctly changes the consumed space (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {442 itSub.ifWithPallets(`Modifying a token property with different sizes correctly changes the consumed space (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {
443 const propKey = 'tok-prop';443 const propKey = 'tok-prop';
444444
445 const collection = await helper[testCase.mode].mintCollection(alice, {445 const collection = await helper[testCase.mode].mintCollection(alice, {