difftreelog
fix tests: scheduller disabled
in: master
2 files changed
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -38,7 +38,7 @@
'unique',
'nonfungible',
'refungible',
- 'scheduler',
+ //'scheduler',
'charging',
];
tests/src/scheduler.test.tsdiffbeforeafterboth1//2// This file is subject to the terms and conditions defined in3// file 'LICENSE', which is part of this source code package.4//56import chai from 'chai';7import chaiAsPromised from 'chai-as-promised';8import privateKey from './substrate/privateKey';9import usingApi from './substrate/substrate-api';10import {11 createItemExpectSuccess,12 createCollectionExpectSuccess,13 scheduleTransferExpectSuccess,14 setCollectionSponsorExpectSuccess,15 confirmSponsorshipExpectSuccess,16} from './util/helpers';1718chai.use(chaiAsPromised);1920describe('Integration Test scheduler base transaction', () => {21 it('User can transfer owned token with delay (scheduler)', async () => {22 await usingApi(async () => {23 const alice = privateKey('//Alice');24 const bob = privateKey('//Bob');25 // nft26 const nftCollectionId = await createCollectionExpectSuccess();27 const newNftTokenId = await createItemExpectSuccess(alice, nftCollectionId, 'NFT');28 await setCollectionSponsorExpectSuccess(nftCollectionId, alice.address);29 await confirmSponsorshipExpectSuccess(nftCollectionId);3031 await scheduleTransferExpectSuccess(nftCollectionId, newNftTokenId, alice, bob, 1, 4);32 });33 });34});1//2// This file is subject to the terms and conditions defined in3// file 'LICENSE', which is part of this source code package.4//56import chai from 'chai';7import chaiAsPromised from 'chai-as-promised';8import privateKey from './substrate/privateKey';9import usingApi from './substrate/substrate-api';10import {11 createItemExpectSuccess,12 createCollectionExpectSuccess,13 scheduleTransferExpectSuccess,14 setCollectionSponsorExpectSuccess,15 confirmSponsorshipExpectSuccess,16} from './util/helpers';1718chai.use(chaiAsPromised);1920describe.skip('Integration Test scheduler base transaction', () => {21 it('User can transfer owned token with delay (scheduler)', async () => {22 await usingApi(async () => {23 const alice = privateKey('//Alice');24 const bob = privateKey('//Bob');25 // nft26 const nftCollectionId = await createCollectionExpectSuccess();27 const newNftTokenId = await createItemExpectSuccess(alice, nftCollectionId, 'NFT');28 await setCollectionSponsorExpectSuccess(nftCollectionId, alice.address);29 await confirmSponsorshipExpectSuccess(nftCollectionId);3031 await scheduleTransferExpectSuccess(nftCollectionId, newNftTokenId, alice, bob, 1, 4);32 });33 });34});