diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ecfdb1b..c4430ed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -70,7 +70,9 @@ jobs: env: ADDRESS_FILE: /home/runner/.ocean/ocean-contracts/artifacts/address.json BARGE_FOLDER: /home/runner/.ocean/ - - run: npm run test-publish-consume + - run: | + npm run test-publish-consume + npm run test-dt env: ADDRESS_FILE: /home/runner/.ocean/ocean-contracts/artifacts/address.json BARGE_FOLDER: /home/runner/.ocean/ diff --git a/test/integration/Datatoken.test.ts b/test/integration/Datatoken.test.ts index 4a5ee6d..80c6798 100644 --- a/test/integration/Datatoken.test.ts +++ b/test/integration/Datatoken.test.ts @@ -423,7 +423,9 @@ describe('Datatoken tests', async () => { setProviderFee ) assert(orderTx, 'Invalid orderTx') - const orderId = `${orderTx.transactionHash.toLowerCase()}-${newDtAddress.toLowerCase()}-${user1.toLowerCase()}-${orderTx.events.OrderStarted.logIndex.toString()}` + const orderId = `${orderTx.transactionHash.toLowerCase()}-${newDtAddress.toLowerCase()}-${user1.toLowerCase()}-${orderTx.events.OrderStarted.logIndex.toFixed( + 1 + )}` await sleep(3000) response = await fetch(subgraphUrl, {