fix(auth): silence unused-parameter lint in RequireUser test

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-20 22:43:22 -04:00
parent 1e5c8b5ab7
commit 2324c5d576
+1 -1
View File
@@ -54,7 +54,7 @@ func TestVerifyPassword(t *testing.T) {
}
func TestRequireUser_RejectsWhenNoCookieOrBearer(t *testing.T) {
next := http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
next := http.HandlerFunc(func(_ http.ResponseWriter, _ *http.Request) {
t.Fatal("handler must not be called")
})
h := RequireUser(nil)(next)