--- a/tests/src/contracts.test.ts +++ b/tests/src/contracts.test.ts @@ -89,14 +89,15 @@ return (result.result.asSuccess.data[0] == 0x00) ? false : true; } -describe('Contracts smoke test', () => { +describe('Contracts', () => { it(`Can deploy smart contract Flipper, instantiate it and call it's get and flip messages.`, async () => { await usingApi(async api => { const [contract, deployer] = await deployFlipper(api); const initialGetResponse = await getFlipValue(contract, deployer); + const bob = privateKey("//Bob"); const flip = contract.exec('flip', value, gasLimit); - await submitTransactionAsync(deployer, flip); + await submitTransactionAsync(bob, flip); const afterFlipGetResponse = await getFlipValue(contract, deployer); expect(afterFlipGetResponse).not.to.be.eq(initialGetResponse, 'Flipping should change value.'); --- a/tests/src/createItem.test.ts +++ b/tests/src/createItem.test.ts @@ -8,7 +8,7 @@ createItemExpectSuccess } from './util/helpers'; -describe.only('integration test: ext. createItem():', () => { +describe('integration test: ext. createItem():', () => { it('Create new item in NFT collection', async () => { const createMode = 'NFT'; const newCollectionID = await createCollectionExpectSuccess('0', '0', '0', createMode);