mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 12:21:24 +00:00
test: remove redundant default line account id case
This commit is contained in:
@@ -144,20 +144,6 @@ describe("LINE accounts", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe("resolveDefaultLineAccountId", () => {
|
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", () => {
|
it("returns first named account when default not configured", () => {
|
||||||
const cfg: OpenClawConfig = {
|
const cfg: OpenClawConfig = {
|
||||||
channels: {
|
channels: {
|
||||||
|
|||||||
Reference in New Issue
Block a user