Skip to content

Commit

Permalink
make failing DDO creation test actually fail
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Jun 17, 2021
1 parent cc164ae commit da1808b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
runs-on: ubuntu-latest
env:
ADDRESS_FILE: ${{ github.workspace }}/.ocean/ocean-contracts/artifacts/address.json
# AQUARIUS_URI: 'http://172.15.0.5:5000'
AQUARIUS_URI: http://127.0.0.1:5000
# AQUARIUS_URI: http://172.15.0.5:5000
# AQUARIUS_URI: http://127.0.0.1:5000

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions test/unit/ocean/Assets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe('Assets', () => {
let walletB: string
let walletC: string
const threeBoxValue = 'did:3:bafyre'

beforeEach(async () => {
const config = new ConfigHelper().getConfig('development')
config.web3Provider = web3
Expand Down Expand Up @@ -107,6 +108,9 @@ describe('Assets', () => {
timeout
)
ddo = await ocean.assets.create(metadata, alice, [service1])
assert.isDefined(ddo)
assert.isDefined(ddo.id)
assert(ddo !== null)
console.log(ddo)
})

Expand Down

0 comments on commit da1808b

Please sign in to comment.