diff --git a/extensions/codex/harness.test.ts b/extensions/codex/harness.test.ts index 14a67bf257fb..dcf46e643cfe 100644 --- a/extensions/codex/harness.test.ts +++ b/extensions/codex/harness.test.ts @@ -179,13 +179,6 @@ describe("Codex agent harness supports()", () => { }); }); - it("supports the canonical openai routing id (documented Codex path)", () => { - expect(harness.supports({ provider: "openai", requestedRuntime: "codex" })).toEqual({ - supported: true, - priority: 100, - }); - }); - it("supports an official route declared compatible with Codex", () => { expect( harness.supports({ diff --git a/extensions/whatsapp/src/setup-surface.test.ts b/extensions/whatsapp/src/setup-surface.test.ts index 44a136d66d81..c414f5ac09bd 100644 --- a/extensions/whatsapp/src/setup-surface.test.ts +++ b/extensions/whatsapp/src/setup-surface.test.ts @@ -9,19 +9,16 @@ import { DEFAULT_ACCOUNT_ID, type OpenClawConfig } from "openclaw/plugin-sdk/set import { beforeEach, describe, expect, it, vi } from "vitest"; import { whatsappSetupWizard } from "./setup-surface.js"; import { - createWhatsAppAllowlistModeInput, createWhatsAppLinkingHarness, createWhatsAppOwnerAllowlistHarness, createWhatsAppPersonalPhoneHarness, createWhatsAppRootAllowFromConfig, createWhatsAppWorkAccountConfig, expectNoWhatsAppLoginFollowup, - expectWhatsAppAllowlistModeSetup, expectWhatsAppLoginFollowup, expectWhatsAppOpenPolicySetup, expectWhatsAppOwnerAllowlistSetup, expectWhatsAppPersonalPhoneSetup, - expectWhatsAppSeparatePhoneDisabledSetup, expectWhatsAppWorkAccountAccessNote, expectWhatsAppWorkAccountOpenAccess, } from "./setup-test-helpers.js"; @@ -138,20 +135,6 @@ function expectFinalizeResult(result: Awaited { beforeEach(() => { hoisted.detectWhatsAppLinked.mockReset(); @@ -186,14 +169,6 @@ describe("whatsapp setup wizard", () => { expectWhatsAppOwnerAllowlistSetup(result.cfg, harness); }); - it("supports disabled DM policy for separate-phone setup", async () => { - const { harness, result } = await runSeparatePhoneFlow({ - selectValues: ["separate", "disabled"], - }); - - expectWhatsAppSeparatePhoneDisabledSetup(result.cfg, harness); - }); - it("writes named-account DM policy and allowFrom instead of the channel root", async () => { hoisted.pathExists.mockResolvedValue(true); const harness = createSeparatePhoneHarness({ @@ -310,12 +285,6 @@ describe("whatsapp setup wizard", () => { expectWhatsAppWorkAccountAccessNote(harness); }); - it("normalizes allowFrom entries when list mode is selected", async () => { - const { result } = await runSeparatePhoneFlow(createWhatsAppAllowlistModeInput()); - - expectWhatsAppAllowlistModeSetup(result.cfg); - }); - it("enables allowlist self-chat mode for personal-phone setup", async () => { hoisted.pathExists.mockResolvedValue(true); const harness = createWhatsAppPersonalPhoneHarness(createQueuedWizardPrompter);