diff --git a/src/line/accounts.test.ts b/src/line/accounts.test.ts index 08c57df0b..c74841b21 100644 --- a/src/line/accounts.test.ts +++ b/src/line/accounts.test.ts @@ -2,7 +2,6 @@ import { describe, it, expect, beforeEach, afterEach } from "vitest"; import type { OpenClawConfig } from "../config/config.js"; import { resolveLineAccount, - listLineAccountIds, resolveDefaultLineAccountId, normalizeAccountId, DEFAULT_ACCOUNT_ID, @@ -100,22 +99,6 @@ describe("LINE accounts", () => { }); }); - describe("listLineAccountIds", () => { - it("returns default account when configured at base level", () => { - const cfg: OpenClawConfig = { - channels: { - line: { - channelAccessToken: "test-token", - }, - }, - }; - - const ids = listLineAccountIds(cfg); - - expect(ids).toContain(DEFAULT_ACCOUNT_ID); - }); - }); - describe("resolveDefaultLineAccountId", () => { it("returns first named account when default not configured", () => { const cfg: OpenClawConfig = {