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
--- a/tests/src/nesting/tokenProperties.test.ts
+++ b/tests/src/nesting/tokenProperties.test.ts
@@ -325,7 +325,7 @@
     {mode: 'nft' as const, storage: 'nonfungible' as const, pieces: undefined, requiredPallets: []},
     {mode: 'rft' as const, storage: 'refungible' as const, pieces: 100n, requiredPallets: [Pallets.ReFungible]}, 
   ].map(testCase =>
-    itSub.ifWithPallets(`Allows modifying a token property multiple times (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {
+    itSub.ifWithPallets(`Allows modifying a token property multiple times with the same size (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {
       const propKey = 'tok-prop';
 
       const collection = await helper[testCase.mode].mintCollection(alice, {
@@ -439,7 +439,7 @@
     {mode: 'nft' as const, pieces: undefined, requiredPallets: []},
     {mode: 'rft' as const, pieces: 100n, requiredPallets: [Pallets.ReFungible]}, 
   ].map(testCase =>
-    itSub.ifWithPallets(`Modifying a token property with different size correctly changes the consumed space (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {
+    itSub.ifWithPallets(`Modifying a token property with different sizes correctly changes the consumed space (${testCase.mode})`, testCase.requiredPallets, async({helper}) => {
       const propKey = 'tok-prop';
 
       const collection = await helper[testCase.mode].mintCollection(alice, {