Include HTTP method in test error message (#2815)

pull/2727/head^2
Ethan Koenig 7 years ago committed by Bo-Yi Wu
parent e6a97b6675
commit 1b6a962e70
  1. 2
      integrations/integration_test.go

@ -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