Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Complete the read-only policy in Settings refresh regression

pulse-triage[bot]a3e18162b16e
diff --git a/frontend-modern/src/components/Settings/__tests__/useSettingsAccess.refresh.test.tsx b/frontend-modern/src/components/Settings/__tests__/useSettingsAccess.refresh.test.tsx
index fb85d67b74..1b162bc4b1 100644
--- a/frontend-modern/src/components/Settings/__tests__/useSettingsAccess.refresh.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/useSettingsAccess.refresh.test.tsx
@@ -177,7 +177,12 @@ describe('Settings capability refresh withdrawal', () => {
apiFetchMock.mockResolvedValue(
response({
...grantedStatus,
- presentationPolicy: { readOnly: true },
+ presentationPolicy: {
+ readOnly: true,
+ demoMode: false,
+ hideCommercial: false,
+ hideUpgrade: true,
+ },
}),
);
const { access } = mount();