diff --git a/test/integration/Marketplaceflow.test.ts b/test/integration/Marketplaceflow.test.ts index 1e408beb..e4840992 100644 --- a/test/integration/Marketplaceflow.test.ts +++ b/test/integration/Marketplaceflow.test.ts @@ -243,7 +243,6 @@ describe('Marketplace flow', () => { it('Alice should check if her asset has valid url(s)', async () => { 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') assert(response[0].contentType === 'application/json') }) diff --git a/test/integration/Provider.test.ts b/test/integration/Provider.test.ts index 0bf38f42..6d89c4d2 100644 --- a/test/integration/Provider.test.ts +++ b/test/integration/Provider.test.ts @@ -25,6 +25,7 @@ describe('Provider tests', () => { it('Check a invalid URL', async () => { const url = 'https://s3.amazonaws.com/testfiles.oceanprotocol.com/nosuchfile' const response = await ocean.provider.fileinfo(url) - assert(response[0].valid === false) + assert(response[0].contentLength === undefined) + assert(response[0].contentType === undefined) }) })