From fae4b23cfc1548d8ca376cabbec83f5665a19daa Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 20:02:07 +0000 Subject: [PATCH] Replace corporate-specific URLs in test fixtures with generic examples Swap employer-specific gateway URLs and scenario names in provider tests with generic example.com equivalents for privacy. Co-Authored-By: Claude Opus 4.6 Claude-Session: https://claude.ai/code/session_019PXuKmJp92Gdo2FudNjSx2 --- test/providers.test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/providers.test.js b/test/providers.test.js index a1c3dd8..d22bfd3 100644 --- a/test/providers.test.js +++ b/test/providers.test.js @@ -407,7 +407,7 @@ test("autoDetectProvider: ANTHROPIC_BASE_URL with 'gateway' → litellm type", ( withEnv( { ...CLEAR_ENV, - ANTHROPIC_BASE_URL: "https://api-eu1.aigateway.emirates.group", + ANTHROPIC_BASE_URL: "https://api.aigateway.example.com", ANTHROPIC_AUTH_TOKEN: "token", }, () => { @@ -451,20 +451,20 @@ test("autoDetectProvider: ANTHROPIC_BASE_URL proxy uses ANTHROPIC_AUTH_TOKEN whe ); }); -// --- Full LiteLLM gateway scenario (the Emirates env) --- +// --- Full LiteLLM gateway scenario (corporate gateway env) --- -test("autoDetectProvider: full LiteLLM gateway env (Emirates scenario)", () => { +test("autoDetectProvider: full LiteLLM gateway env (corporate gateway scenario)", () => { withEnv( { ...CLEAR_ENV, - ANTHROPIC_BASE_URL: "https://api-eu1.aigateway.emirates.group", + ANTHROPIC_BASE_URL: "https://api.aigateway.example.com", ANTHROPIC_AUTH_TOKEN: "gateway-token", ANTHROPIC_MODEL: "claude-opus-4-7", }, () => { const r = autoDetectProvider(); assert.equal(r.type, "litellm"); - assert.equal(r.baseUrl, "https://api-eu1.aigateway.emirates.group"); + assert.equal(r.baseUrl, "https://api.aigateway.example.com"); assert.equal(r.envKey, "ANTHROPIC_AUTH_TOKEN"); }, );