From 0d386d32a2c34e6b5b07c806a30529cee408f757 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sun, 10 May 2026 23:32:39 +0100 Subject: [PATCH] Update cluster source test to match aggregated badge Follow-up to 112d42801: the test asserted the old hardcoded 'api' badge for a PVE cluster whose members both carry agents. With the row builder now using sourceFor() aggregation, the expected source is 'both'. --- .../components/Settings/__tests__/useConnectionsLedger.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts b/frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts index 2472fc6af5..620ea75b79 100644 --- a/frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts +++ b/frontend-modern/src/components/Settings/__tests__/useConnectionsLedger.test.ts @@ -162,7 +162,7 @@ describe('useConnectionsLedger', () => { ownerType: 'pve', name: 'homelab', subtitle: 'Cluster ยท 2 nodes', - source: 'api', + source: 'both', host: undefined, isCluster: true, coverageLabels: ['VMs', 'Containers', 'Storage', 'Backups'],