From ae16f6ba87b3978a4e4e9144412ff41d07c3c3d8 Mon Sep 17 00:00:00 2001 From: Jesse Merhi <79823012+jesse-merhi@users.noreply.github.com> Date: Sun, 9 Aug 2026 16:23:39 +1000 Subject: [PATCH] Gateway: align cancellation ownership mock --- .../server-methods/system-agent-session-ownership.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {