Skip to content

Commit 1b6a962

Browse files
ethantkoenigappleboy
authored andcommitted
Include HTTP method in test error message (#2815)
1 parent e6a97b6 commit 1b6a962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ func MakeRequest(t testing.TB, req *http.Request, expectedStatus int) *TestRespo
284284
mac.ServeHTTP(respWriter, req)
285285
if expectedStatus != NoExpectedStatus {
286286
assert.EqualValues(t, expectedStatus, respWriter.HeaderCode,
287-
"Request URL: %s", req.URL.String())
287+
"Request: %s %s", req.Method, req.URL.String())
288288
}
289289
return &TestResponse{
290290
HeaderCode: respWriter.HeaderCode,

0 commit comments

Comments
 (0)