git.delta.rocks / unique-network / refs/commits / 2c99b944ca7c

difftreelog

createMultipleItems tests

kpozdnikin2021-01-12parent: #3f04d11.patch.diff
in: master

1 file changed

modifiedtests/src/createMultipleItems.test.tsdiffbeforeafterboth
2// This file is subject to the terms and conditions defined in2// This file is subject to the terms and conditions defined in
3// 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';
1111
12const idCollection = 12;12const idCollection = 12;
13
14describe('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) => {
17
18 });
19 });
20});
21
22describe('Negative Integration Test createMultipleItems(collection_id, owner, items_data):', () => {
23 it('Create token with not existing type', async () => {
24 await usingApi(async (api: ApiPromise) => {
25
26 });
27 });
28
29 it('Create token in not existing collection', async () => {
30 await usingApi(async (api: ApiPromise) => {
31
32 });
33 });
34
35 it('Create token that has reached the maximum data limit', async () => {
36 await usingApi(async (api: ApiPromise) => {
37
38 });
39 });
40
41 it('Create tokens with different types', async () => {
42 await usingApi(async (api: ApiPromise) => {
43
44 });
45 });
46
47 it('Create tokens in not existing collection', async () => {
48 await usingApi(async (api: ApiPromise) => {
49
50 });
51 });
52
53 it('Create tokens with different data limits <> maximum data limit', async () => {
54 await usingApi(async (api: ApiPromise) => {
55
56 });
57 });
58});
1359
14describe.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 () => {