From c9eefc7e84bb9594466dd7b628f28a5723453e84 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 17 May 2026 12:15:48 +0200 Subject: [PATCH] fix(stockholm): match setupRouter signature in router_test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setupRouter gained a *stockholm.Handler parameter on this branch, but the test left over from the previous signature still called it with one argument, breaking `go vet ./...`. Pass nil — Stockholm is opt-in and not exercised in this test. Co-Authored-By: Claude Opus 4.7 (1M context) --- cmd/soundtouch-service/router_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soundtouch-service/router_test.go b/cmd/soundtouch-service/router_test.go index c41c211..f3dd73d 100644 --- a/cmd/soundtouch-service/router_test.go +++ b/cmd/soundtouch-service/router_test.go @@ -128,7 +128,7 @@ func TestPUTRenameRoutesToLocalHandler(t *testing.T) { _ = ds.Initialize() server := handlers.NewServer(ds, nil, "http://localhost:8000", false, false, false) - r := setupRouter(server) + r := setupRouter(server, nil) ts := httptest.NewServer(r) defer ts.Close()