Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Align AI chat router test with restart lifecycle

rcourtman10e4bd5ff620
diff --git a/internal/api/router_routes_additional_test.go b/internal/api/router_routes_additional_test.go
index 2334fb8a63..d5c711836c 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{}