diff --git a/src/cli/cron-cli.test.ts b/src/cli/cron-cli.test.ts index cefc030b1..459988246 100644 --- a/src/cli/cron-cli.test.ts +++ b/src/cli/cron-cli.test.ts @@ -162,7 +162,7 @@ describe("cron cli", () => { const updateCall = callGatewayFromCli.mock.calls.find((call) => call[0] === "cron.update"); const patch = updateCall?.[2] as { patch?: { agentId?: unknown } }; - expect(patch?.patch?.agentId).toBe("Ops"); + expect(patch?.patch?.agentId).toBe("ops"); callGatewayFromCli.mockClear(); await program.parseAsync(["cron", "edit", "job-2", "--clear-agent"], { diff --git a/src/cron/normalize.test.ts b/src/cron/normalize.test.ts index 45a1606d4..b7823e537 100644 --- a/src/cron/normalize.test.ts +++ b/src/cron/normalize.test.ts @@ -38,7 +38,7 @@ describe("normalizeCronJobCreate", () => { }, }) as unknown as Record; - expect(normalized.agentId).toBe("Ops"); + expect(normalized.agentId).toBe("ops"); const cleared = normalizeCronJobCreate({ name: "agent-clear", diff --git a/src/routing/resolve-route.test.ts b/src/routing/resolve-route.test.ts index ec4a9cc9a..484d53319 100644 --- a/src/routing/resolve-route.test.ts +++ b/src/routing/resolve-route.test.ts @@ -180,7 +180,7 @@ describe("resolveAgentRoute", () => { accountId: undefined, peer: { kind: "dm", id: "+1000" }, }); - expect(defaultRoute.agentId).toBe("defaultAcct"); + expect(defaultRoute.agentId).toBe("defaultacct"); expect(defaultRoute.matchedBy).toBe("binding.account"); const otherRoute = resolveAgentRoute({