diff --git a/src/metadatastore/MetadataStore.ts b/src/metadatastore/MetadataStore.ts index e1a3182f..041a29ea 100644 --- a/src/metadatastore/MetadataStore.ts +++ b/src/metadatastore/MetadataStore.ts @@ -316,7 +316,7 @@ export class MetadataStore { } public async getOwnerAssets(owner: string): Promise { - let q = { + const q = { offset: 100, page: 1, query: { diff --git a/test/integration/Marketplaceflow.test.ts b/test/integration/Marketplaceflow.test.ts index 2cd6e44b..1964f251 100644 --- a/test/integration/Marketplaceflow.test.ts +++ b/test/integration/Marketplaceflow.test.ts @@ -181,10 +181,8 @@ describe('Marketplace flow', () => { ) }) }) - it ('owner can list there assets', async () => { - const assets = await ocean.assets.ownerAssets( - alice.getId() - ) + it('owner can list there assets', async () => { + const assets = await ocean.assets.ownerAssets(alice.getId()) assert(assets.length > 0) }) })