diff --git a/src/gateway/server-methods/system-agent-session-ownership.test.ts b/src/gateway/server-methods/system-agent-session-ownership.test.ts index 726b58327d0b..9113e3306b78 100644 --- a/src/gateway/server-methods/system-agent-session-ownership.test.ts +++ b/src/gateway/server-methods/system-agent-session-ownership.test.ts @@ -400,7 +400,7 @@ describe("openclaw.chat session responses", () => { details: { code: "system_agent_session_invalidated" }, }, }); - expect(setupInferenceMocks.verifySetupInference).not.toHaveBeenCalled(); + expect(inferenceFallbackMocks.verifySystemAgentInferenceWithFallback).not.toHaveBeenCalled(); }); it("routes a structured cancel through its bound session", async () => {