Fix invalid ResourceStatus value in Unraid storage tests

The new Unraid presentation tests used 'warning' for the resource status,
which isn't a valid ResourceStatus literal and tripped the pre-push
type check. Use 'degraded', which is the canonical attention-status value.
This commit is contained in:
rcourtman
2026-05-09 19:57:01 +01:00
parent 2f771baf3d
commit ca2a642bc8
@@ -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,