From 40fdf05208b2dc0eff897d1accb2ccdc15ab3a29 Mon Sep 17 00:00:00 2001 From: qkhalk Date: Wed, 19 Aug 2026 08:26:18 +0700 Subject: [PATCH] test(http-recorder): use an obviously-fake Google API key fixture The previous fixture value looked like a real Google API key (AIzaSy... + 35 chars), which trips secret scanners as a false positive. Replace it with a clearly synthetic string that still matches the AIza[0-9A-Za-z_-]{20,} pattern so the secret-detection assertion stays valid. --- packages/http-recorder/test/record-replay.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/http-recorder/test/record-replay.test.ts b/packages/http-recorder/test/record-replay.test.ts index 93d7bbaded..e302bd3868 100644 --- a/packages/http-recorder/test/record-replay.test.ts +++ b/packages/http-recorder/test/record-replay.test.ts @@ -135,7 +135,7 @@ describe("http-recorder", () => { method: "POST", url: "https://example.test/path?key=sk-123456789012345678901234", headers: {}, - body: JSON.stringify({ nested: "AIzaSyDHibiBRvJZLsFnPYPoiTwxY4ztQ55yqCE" }), + body: JSON.stringify({ nested: "AIzaSyFakeTestKeyForSecretDetectionOnly0001" }), }, response: { status: 200,