fix: remove 10 unused test functions flagged by staticcheck U1000

This commit is contained in:
2026-07-10 12:01:02 +01:00
parent eed8814021
commit cf0cd8de15
8 changed files with 2 additions and 105 deletions
@@ -36,11 +36,6 @@ func makeAdminRequest(handler http.Handler, method, path string, body interface{
return makeRequestWithContext(handler, method, path, body, "admin001", "admin", ctx)
}
// makeUserRequest creates a request with regular user context
func makeUserRequest(handler http.Handler, method, path string, body interface{}, ctx context.Context) *httptest.ResponseRecorder {
return makeRequestWithContext(handler, method, path, body, "user001", "verified_email", ctx)
}
// makeRequestWithContext creates a request with specific user context
func makeRequestWithContext(handler http.Handler, method, path string, body interface{}, userID, role string, ctx context.Context) *httptest.ResponseRecorder {
var req *http.Request