fix: resolve all 47 noctx lint findings in tests (closes #175) #183

Closed
clawbot wants to merge 1 commits from fix-noctx-lint into main

1 Commits

Author SHA1 Message Date
21642900e6 fix: resolve all 47 noctx lint findings in tests
All checks were successful
Check / check (pull_request) Successful in 3m10s
Replace every httptest.NewRequest call with
httptest.NewRequestWithContext using the test's t.Context(). Thread
t *testing.T through the createSetupFormRequest and
createLoginFormRequest helpers so they can supply a context.

make lint under golangci-lint 2.12.2 drops from 94 findings to 47
(remaining: 23 gosec, 24 goconst, tracked in #176/#177/#178). make
test and make fmt-check pass unchanged.

Closes #175
2026-08-07 16:47:16 +00:00