diff --git a/test/ai-provider.test.mjs b/test/ai-provider.test.mjs index 315d7dd..ead5ace 100644 --- a/test/ai-provider.test.mjs +++ b/test/ai-provider.test.mjs @@ -5,7 +5,7 @@ import { analyzeWithHttpProvider } from "../dist/ai/http-provider.js"; import { AI_PROVIDER_REGISTRY, getAiProviderMetadata } from "../dist/ai/provider-registry.js"; import { APP_XRAY_ANALYSIS_JSON_INSTRUCTIONS, buildStructuredAnalysisPrompt } from "../dist/ai/structured-prompt.js"; -const SECRET_API_KEY = "sk-test-secret-key-1234567890"; +const SECRET_API_KEY = "test-api-key-redacted-1234567890"; const sourceDocument = { id: "src_test", diff --git a/test/ui-project-lifecycle.test.mjs b/test/ui-project-lifecycle.test.mjs index 8737f84..1335ee3 100644 --- a/test/ui-project-lifecycle.test.mjs +++ b/test/ui-project-lifecycle.test.mjs @@ -173,9 +173,9 @@ test("AI provider switch clears the previous provider API key before saving", as await renderApp("#/settings/ai"); await fillLabeledControl("AI 제공자", "openai"); - await fillLabeledControl("API Key", "sk-openai-secret-1234567890"); + await fillLabeledControl("API Key", "test-openai-key-redacted-1234567890"); await clickButton("설정 저장"); - assert.match(localStorage.getItem("app-xray.ai-settings.v1"), /sk-openai-secret/); + assert.match(localStorage.getItem("app-xray.ai-settings.v1"), /test-openai-key-redacted/); await fillLabeledControl("AI 제공자", "anthropic"); await clickButton("설정 저장");