fix(httpd): update server_test for termMgr arg after rebase

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 <noreply@anthropic.com>
This commit is contained in:
harshitsinghbhandari 2026-06-01 01:50:43 +05:30
parent 2f4662b470
commit 0d8ffcd17a
1 changed files with 1 additions and 1 deletions

View File

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