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.

Fix invalid ResourceStatus value in Unraid storage tests

rcourtmanca2a642bc82a
diff --git a/frontend-modern/src/features/storageBackups/__tests__/resourceStoragePresentation.test.ts b/frontend-modern/src/features/storageBackups/__tests__/resourceStoragePresentation.test.ts
index 8238c859c2..25d690913a 100644
--- a/frontend-modern/src/features/storageBackups/__tests__/resourceStoragePresentation.test.ts
+++ b/frontend-modern/src/features/storageBackups/__tests__/resourceStoragePresentation.test.ts
@@ -175,7 +175,7 @@ describe('resourceStoragePresentation', () => {
const resource = makeResource({
type: 'storage',
name: 'Tower Array',
- status: 'warning',
+ status: 'degraded',
storage: {
protection: 'none',
protectionReduced: true,
@@ -216,7 +216,7 @@ describe('resourceStoragePresentation', () => {
const resource = makeResource({
type: 'storage',
name: 'Tower Array',
- status: 'warning',
+ status: 'degraded',
storage: {
protection: 'none',
protectionReduced: true,
@@ -245,7 +245,7 @@ describe('resourceStoragePresentation', () => {
const resource = makeResource({
type: 'storage',
name: 'Tower Array',
- status: 'warning',
+ status: 'degraded',
storage: {
protectionReduced: false,
rebuildInProgress: true,