mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-13 22:39:06 +02:00
fix everysingle lint issue
This commit is contained in:
@@ -120,7 +120,7 @@ func TestHealthCheck_HealthCheckHandler(t *testing.T) {
|
||||
hc.SetStatus(tt.args.status)
|
||||
|
||||
w := httptest.NewRecorder()
|
||||
req, _ := http.NewRequest("GET", "/health", nil)
|
||||
req, _ := http.NewRequestWithContext(t.Context(), "GET", "/health", http.NoBody)
|
||||
r.ServeHTTP(w, req)
|
||||
|
||||
if got := w.Code; got != tt.statusCode {
|
||||
|
Reference in New Issue
Block a user