test: remove redundant default line account id case

This commit is contained in:
Peter Steinberger
2026-02-16 07:29:10 +00:00
parent 189b2e0588
commit 4c46c23ca8

View File

@@ -144,20 +144,6 @@ describe("LINE accounts", () => {
});
describe("resolveDefaultLineAccountId", () => {
it("returns default when configured", () => {
const cfg: OpenClawConfig = {
channels: {
line: {
channelAccessToken: "test-token",
},
},
};
const id = resolveDefaultLineAccountId(cfg);
expect(id).toBe(DEFAULT_ACCOUNT_ID);
});
it("returns first named account when default not configured", () => {
const cfg: OpenClawConfig = {
channels: {