summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-10-31 22:54:24 -0700
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-11-01 00:54:24 -0500
commit1b6a962e709925654882e70260f5623da72b785f (patch)
tree31e1a43e4da9a5ca9848ae94e88a25504127cf0f /integrations
parente6a97b667598ca4a94ee58fff9e171c284769c39 (diff)
downloadgitea-1b6a962e709925654882e70260f5623da72b785f.tar.gz
gitea-1b6a962e709925654882e70260f5623da72b785f.zip
Include HTTP method in test error message (#2815)
Diffstat (limited to 'integrations')
-rw-r--r--integrations/integration_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/integration_test.go b/integrations/integration_test.go
index 4573a9cb13..55014b5a41 100644
--- a/integrations/integration_test.go
+++ b/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,