Skip to content

Commit

Permalink
fix: Remove attributes for useInstanceInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Nov 21, 2024
1 parent 4d0e9be commit 67e79ff
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/PushBanner/QuotaBanner.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
})
Expand Down

0 comments on commit 67e79ff

Please sign in to comment.