Browse Source

Include HTTP method in test error message (#2815)

tags/v1.21.12.1
Ethan Koenig Bo-Yi Wu 7 years ago
parent
commit
1b6a962e70
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      integrations/integration_test.go

+ 1
- 1
integrations/integration_test.go View File

@@ -284,7 +284,7 @@ func MakeRequest(t testing.TB, req *http.Request, expectedStatus int) *TestRespo
mac.ServeHTTP(respWriter, req)
if expectedStatus != NoExpectedStatus {
assert.EqualValues(t, expectedStatus, respWriter.HeaderCode,
"Request URL: %s", req.URL.String())
"Request: %s %s", req.Method, req.URL.String())
}
return &TestResponse{
HeaderCode: respWriter.HeaderCode,


Loading…
Cancel
Save