Skip to content

Commit

Permalink
fix did problem
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Jan 14, 2021
1 parent 84f27e0 commit 7a6abdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/Marketplaceflow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import Web3 from 'web3'
import { AbiItem } from 'web3-utils/types'
import { DataTokens } from '../../src/datatokens/Datatokens'
import { Account, EditableMetadata, Service, ServiceAccess, DID } from '../../src/lib'
import { noDidPrefixed } from '../../src/utils/'
import { Ocean } from '../../src/ocean/Ocean'
import { ConfigHelper } from '../../src/utils/ConfigHelper'
import { TestContractHandler } from '../TestContractHandler'
import { LoggerInstance } from '../../src/utils'
import { Network } from '../../src/datatokens/Network'

const web3 = new Web3('http://127.0.0.1:8545')

Expand Down Expand Up @@ -246,7 +246,7 @@ describe('Marketplace flow', () => {
})

it('Alice should check if her asset has valid url(s)', async () => {
const did: DID = DID.generate(ddo.id)
const did: DID = DID.generate(noDidPrefixed(ddo.id))
const response = await ocean.provider.fileinfo(did)
assert(response[0].valid === true)
assert(response[0].contentLength === '1161')
Expand Down

0 comments on commit 7a6abdb

Please sign in to comment.