From 6f50799d3c0f713c1a515a2079c71e0e2df6d0db Mon Sep 17 00:00:00 2001 From: Thomas Joise Date: Tue, 21 Jul 2026 00:10:22 +0530 Subject: [PATCH] test(db-resolve): remove duplicated production password from test file The test never connects to Postgres, it only asserts resolution behaviour, so the real prod URL had no reason to be duplicated here. Swapped for a dummy postgres://u:p@h:5432/db throughout. Co-Authored-By: Claude Opus 4.8 (1M context) --- apps/hq/test/db-resolve.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hq/test/db-resolve.test.ts b/apps/hq/test/db-resolve.test.ts index 466a77e..8bd38bd 100644 --- a/apps/hq/test/db-resolve.test.ts +++ b/apps/hq/test/db-resolve.test.ts @@ -7,7 +7,7 @@ import { describe, it, expect } from 'vitest' import { pgTargetDescription, requireDbUrlForEnv, resolveDbUrl } from '../src/db-pg' -const HARDCODED = 'postgres://postgres:inv123@host.docker.internal:5432/hq' +const HARDCODED = 'postgres://u:p@h:5432/db' describe('resolveDbUrl (D19 engine selection, the one shared resolver)', () => { it('DATABASE_URL wins regardless of NODE_ENV', () => {