Align AI chat router test with restart lifecycle

This commit is contained in:
rcourtman 2026-03-29 21:57:47 +01:00
parent 2fdf0e16c8
commit 10e4bd5ff6

View file

@ -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{}