From 10e4bd5ff620bbba86750012f7fa73ce50c6212c Mon Sep 17 00:00:00 2001 From: rcourtman Date: Sun, 29 Mar 2026 21:57:47 +0100 Subject: [PATCH] Align AI chat router test with restart lifecycle --- internal/api/router_routes_additional_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/api/router_routes_additional_test.go b/internal/api/router_routes_additional_test.go index 2334fb8a6..d5c711836 100644 --- a/internal/api/router_routes_additional_test.go +++ b/internal/api/router_routes_additional_test.go @@ -386,7 +386,6 @@ func TestRouterAIChatControl(t *testing.T) { t.Run("calls through to ai handler", func(t *testing.T) { mockSvc := &MockAIService{} mockSvc.On("Stop", mock.Anything).Return(nil) - mockSvc.On("IsRunning").Return(true) mockSvc.On("Restart", mock.Anything, mock.Anything).Return(nil) handler := &AIHandler{}