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.

Give the import staging fixture canonical token authority

pulse-triage[bot]a2f1d8d4bb24
diff --git a/internal/config/atomic_file_test.go b/internal/config/atomic_file_test.go
index 660afc9e52..fb9b138c67 100644
--- a/internal/config/atomic_file_test.go
+++ b/internal/config/atomic_file_test.go
@@ -186,7 +186,7 @@ func TestAtomicConfigIndependentWritersPublishCompleteFiles(t *testing.T) {
func TestAtomicConfigWritesRemainStagedDuringImport(t *testing.T) {
cp := NewConfigPersistence(t.TempDir())
- records := []APITokenRecord{{ID: "fixture-id", Hash: "previous-hash", Scopes: []string{"monitoring:read"}}}
+ records := []APITokenRecord{{ID: "fixture-id", Hash: "previous-hash", OrgID: "default", Scopes: []string{"monitoring:read"}}}
require.NoError(t, cp.SaveAPITokens(records))
original, err := os.ReadFile(cp.apiTokensFile)
require.NoError(t, err)