From 0d8ffcd17a6769ff501610ae03d9fd787eb92c25 Mon Sep 17 00:00:00 2001 From: harshitsinghbhandari <24b4506@iitb.ac.in> Date: Mon, 1 Jun 2026 01:50:43 +0530 Subject: [PATCH] fix(httpd): update server_test for termMgr arg after rebase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shutdown endpoint test was authored against the pre-rebase httpd.New(cfg, log) signature. After rebasing onto main, the terminal manager (from #50) made termMgr a required third arg. Pass nil — the test exercises /shutdown, not /mux, so the terminal surface stays off. Co-Authored-By: Claude Opus 4.7 --- backend/internal/httpd/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/httpd/server_test.go b/backend/internal/httpd/server_test.go index 0248e8663..2b7ba4f3b 100644 --- a/backend/internal/httpd/server_test.go +++ b/backend/internal/httpd/server_test.go @@ -100,7 +100,7 @@ func TestServerShutdownEndpoint(t *testing.T) { RunFilePath: runPath, } - srv, err := New(cfg, discardLogger()) + srv, err := New(cfg, discardLogger(), nil) if err != nil { t.Fatalf("New: %v", err) }