diff --git a/src/components/PushBanner/QuotaBanner.spec.jsx b/src/components/PushBanner/QuotaBanner.spec.jsx index eba3b909..f671a9c4 100644 --- a/src/components/PushBanner/QuotaBanner.spec.jsx +++ b/src/components/PushBanner/QuotaBanner.spec.jsx @@ -52,15 +52,13 @@ describe('QuotaBanner', () => { useInstanceInfo.mockReturnValue({ context: { data: { - attributes: { - enable_premium_links: enablePremiumLinks, - manager_url: 'http://mycozy.cloud' - } + enable_premium_links: enablePremiumLinks, + manager_url: 'http://mycozy.cloud' } }, instance: { data: { - attributes: { uuid: hasUuid ? '123' : null } + uuid: hasUuid ? '123' : null } } })