difftreelog
Fix create collection tests
in: master
1 file changed
tests/src/createCollection.test.tsdiffbeforeafterboth42 it('create new collection with properties #1', async () => {42 it('create new collection with properties #1', async () => {43 await createCollectionWithPropsExpectSuccess({name: 'A', description: 'B', tokenPrefix: 'C', mode: {type: 'NFT'},43 await createCollectionWithPropsExpectSuccess({name: 'A', description: 'B', tokenPrefix: 'C', mode: {type: 'NFT'},44 properties: [{key: 'key1', value: 'val1'}],44 properties: [{key: 'key1', value: 'val1'}],45 propPerm: [{key: 'key1', tokenOwner: true, mutable: false, collectionAdmin: true}]});45 propPerm: [{key: 'key1', permission: {tokenOwner: true, mutable: false, collectionAdmin: true}}]});46 });46 });474748 it('create new collection with properties #2', async () => {48 it('create new collection with properties #2', async () => {49 await createCollectionWithPropsExpectSuccess({name: 'A', description: 'B', tokenPrefix: 'C', mode: {type: 'NFT'},49 await createCollectionWithPropsExpectSuccess({name: 'A', description: 'B', tokenPrefix: 'C', mode: {type: 'NFT'},50 properties: [{key: 'key1', value: 'val1'}],50 properties: [{key: 'key1', value: 'val1'}],51 propPerm: [{key: 'key1', tokenOwner: false, mutable: true, collectionAdmin: false}]});51 propPerm: [{key: 'key1', permission: {tokenOwner: true, mutable: false, collectionAdmin: true}}]});52 });52 });535354 it('create new collection with properties #3', async () => {54 it('create new collection with properties #3', async () => {55 await createCollectionWithPropsExpectSuccess({name: 'A', description: 'B', tokenPrefix: 'C', mode: {type: 'NFT'},55 await createCollectionWithPropsExpectSuccess({name: 'A', description: 'B', tokenPrefix: 'C', mode: {type: 'NFT'},56 properties: [{key: 'key1', value: 'val1'}],56 properties: [{key: 'key1', value: 'val1'}],57 propPerm: [{key: 'key1', tokenOwner: true, mutable: false, collectionAdmin: false}]});57 propPerm: [{key: 'key1', permission: {tokenOwner: true, mutable: false, collectionAdmin: true}}]});58 });58 });595960 it('Create new collection with extra fields', async () => {60 it('Create new collection with extra fields', async () => {