difftreelog
createMultipleItems tests
in: master
1 file changed
tests/src/createMultipleItems.test.tsdiffbeforeafterboth2// This file is subject to the terms and conditions defined in2// This file is subject to the terms and conditions defined in3// file 'LICENSE', which is part of this source code package.3// file 'LICENSE', which is part of this source code package.4//4//55import { ApiPromise } from '@polkadot/api';6import { assert } from 'chai';6import { assert } from 'chai';7import { alicesPublicKey } from './accounts';7import { alicesPublicKey } from './accounts';8import privateKey from './substrate/privateKey';8import privateKey from './substrate/privateKey';111112const idCollection = 12;12const idCollection = 12;1314describe('Integration Test createMultipleItems(collection_id, owner, items_data):', () => {15 it('Create 0x31, 0x32, 0x33 items in active NFT collection and verify tokens data in chain', async () => {16 await usingApi(async (api: ApiPromise) => {1718 });19 });20});2122describe('Negative Integration Test createMultipleItems(collection_id, owner, items_data):', () => {23 it('Create token with not existing type', async () => {24 await usingApi(async (api: ApiPromise) => {2526 });27 });2829 it('Create token in not existing collection', async () => {30 await usingApi(async (api: ApiPromise) => {3132 });33 });3435 it('Create token that has reached the maximum data limit', async () => {36 await usingApi(async (api: ApiPromise) => {3738 });39 });4041 it('Create tokens with different types', async () => {42 await usingApi(async (api: ApiPromise) => {4344 });45 });4647 it('Create tokens in not existing collection', async () => {48 await usingApi(async (api: ApiPromise) => {4950 });51 });5253 it('Create tokens with different data limits <> maximum data limit', async () => {54 await usingApi(async (api: ApiPromise) => {5556 });57 });58});135914describe.skip('integration test: ext. createMultipleItems():', () => {60describe.skip('integration test: ext. createMultipleItems():', () => {15 it('Create two NFT tokens in active NFT collection', async () => {61 it('Create two NFT tokens in active NFT collection', async () => {