mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 13:34:58 +00:00
test: remove redundant line account-id env listing case
This commit is contained in:
@@ -114,15 +114,6 @@ describe("LINE accounts", () => {
|
|||||||
|
|
||||||
expect(ids).toContain(DEFAULT_ACCOUNT_ID);
|
expect(ids).toContain(DEFAULT_ACCOUNT_ID);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("returns default from env", () => {
|
|
||||||
process.env.LINE_CHANNEL_ACCESS_TOKEN = "env-token";
|
|
||||||
const cfg: OpenClawConfig = {};
|
|
||||||
|
|
||||||
const ids = listLineAccountIds(cfg);
|
|
||||||
|
|
||||||
expect(ids).toContain(DEFAULT_ACCOUNT_ID);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("resolveDefaultLineAccountId", () => {
|
describe("resolveDefaultLineAccountId", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user