From a834832d2660f3ecef235ec72edf5832e64a2aab Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 27 Mar 2026 22:06:29 +0000 Subject: [PATCH] test: debrand final helper placeholders --- src/plugin-sdk/status-helpers.test.ts | 4 ++-- src/wizard/setup.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugin-sdk/status-helpers.test.ts b/src/plugin-sdk/status-helpers.test.ts index 15bc4b5120d..73c1f66d27c 100644 --- a/src/plugin-sdk/status-helpers.test.ts +++ b/src/plugin-sdk/status-helpers.test.ts @@ -350,14 +350,14 @@ describe("buildTokenChannelStatusSummary", () => { describe("collectStatusIssuesFromLastError", () => { it("returns runtime issues only for non-empty string lastError values", () => { expect( - collectStatusIssuesFromLastError("telegram", [ + collectStatusIssuesFromLastError("demo-channel", [ { accountId: "default", lastError: " timeout " }, { accountId: "silent", lastError: " " }, { accountId: "typed", lastError: { message: "boom" } }, ]), ).toEqual([ { - channel: "telegram", + channel: "demo-channel", accountId: "default", kind: "runtime", message: "Channel error: timeout", diff --git a/src/wizard/setup.test.ts b/src/wizard/setup.test.ts index 8c007821f0b..3a896498fe1 100644 --- a/src/wizard/setup.test.ts +++ b/src/wizard/setup.test.ts @@ -17,7 +17,7 @@ type ResolvePluginProvidersRuntime = const ensureAuthProfileStore = vi.hoisted(() => vi.fn(() => ({ profiles: {} }))); const promptAuthChoiceGrouped = vi.hoisted(() => vi.fn(async () => "skip")); const applyAuthChoice = vi.hoisted(() => vi.fn(async (args) => ({ config: args.config }))); -const resolvePreferredProviderForAuthChoice = vi.hoisted(() => vi.fn(async () => "openai")); +const resolvePreferredProviderForAuthChoice = vi.hoisted(() => vi.fn(async () => "demo-provider")); const resolveProviderPluginChoice = vi.hoisted(() => vi.fn(() => null), );