diff --git a/packages/cozy-harvest-lib/src/components/hooks/useAppLinkWithStoreFallback.spec.js b/packages/cozy-harvest-lib/src/components/hooks/useAppLinkWithStoreFallback.spec.js index 7cc5b3e0f5..20dba5cf40 100644 --- a/packages/cozy-harvest-lib/src/components/hooks/useAppLinkWithStoreFallback.spec.js +++ b/packages/cozy-harvest-lib/src/components/hooks/useAppLinkWithStoreFallback.spec.js @@ -30,9 +30,7 @@ describe('useAppLinkWithStoreFallback', () => { mockClient.query.mockResolvedValue({ data: [ { - attributes: { - slug: testAppSlug - }, + slug: testAppSlug, links: { related: 'http://testapp.cozy.io' } } ] @@ -52,9 +50,7 @@ describe('useAppLinkWithStoreFallback', () => { mockClient.query.mockResolvedValue({ data: [ { - attributes: { - slug: 'store' - }, + slug: 'store', links: { related: 'http://store.cozy.io' } } ]