Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: use Postgres array literal for empty disclosure_fields in DB test

[._.]/ Adam Eivy5e19503c9c98
diff --git a/server/services/privacyBrokers.db.test.js b/server/services/privacyBrokers.db.test.js
index 2eb8fdd737..45bc8b9c7d 100644
--- a/server/services/privacyBrokers.db.test.js
+++ b/server/services/privacyBrokers.db.test.js
@@ -86,7 +86,7 @@ describe.skipIf(!dbReady)('privacy brokers DB round-trip', () => {
// 2. Insert a dummy non-curated broker to verify auto sources are preserved
await query(
`INSERT INTO privacy_brokers (id, name, urls, optout, tier, disclosure_fields, source, confidence, enabled, created_at, updated_at)
- VALUES ('test-auto-upgrade', 'Auto Upgrade', '{}', '{}', 2, '[]', 'badbool', 'auto', true, NOW(), NOW())
+ VALUES ('test-auto-upgrade', 'Auto Upgrade', '{}', '{}', 2, '{}', 'badbool', 'auto', true, NOW(), NOW())
ON CONFLICT (id) DO NOTHING`,
);