From 656ad2791a972732230ece10c44ac4f60a62b554 Mon Sep 17 00:00:00 2001 From: mastertyko <11311479+mastertyko@users.noreply.github.com> Date: Sat, 11 Apr 2026 18:12:09 +0200 Subject: [PATCH] test(cli): avoid secret-scan false positives --- src/tests/provider-migrations.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/provider-migrations.test.ts b/src/tests/provider-migrations.test.ts index 3aef11e72..d23e22b99 100644 --- a/src/tests/provider-migrations.test.ts +++ b/src/tests/provider-migrations.test.ts @@ -55,7 +55,7 @@ test("shouldMigrateAnthropicToClaudeCode blocks migration for direct-key users", test("shouldMigrateAnthropicToClaudeCode allows OAuth-only anthropic users", () => { assert.equal( shouldMigrateAnthropicToClaudeCode({ - authStorage: makeAuthStorage([{ type: "oauth", accessToken: "oauth-token" }]) as any, + authStorage: makeAuthStorage([{ type: "oauth" }]) as any, isClaudeCodeReady: true, defaultProvider: "anthropic", env: {} as NodeJS.ProcessEnv, @@ -67,7 +67,7 @@ test("shouldMigrateAnthropicToClaudeCode allows OAuth-only anthropic users", () test("shouldMigrateAnthropicToClaudeCode stays off for other providers", () => { assert.equal( shouldMigrateAnthropicToClaudeCode({ - authStorage: makeAuthStorage([{ type: "oauth", accessToken: "oauth-token" }]) as any, + authStorage: makeAuthStorage([{ type: "oauth" }]) as any, isClaudeCodeReady: true, defaultProvider: "openai", env: {} as NodeJS.ProcessEnv,