Skip to content

Commit

Permalink
Fix DT tests related to order.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariacarmina committed Apr 20, 2023
1 parent 61f2094 commit 1685588
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
4 changes: 3 additions & 1 deletion test/integration/Datatoken.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 1685588

Please sign in to comment.