aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-08-28 06:36:02 -0700
committerLunny Xiao <xiaolunwen@gmail.com>2017-08-28 21:36:02 +0800
commitd23b36c598cd30f2da7446ef20154f6172ae8795 (patch)
tree32cc6ab052fbb99cc78600ea0e9f015c9de45aeb /integrations
parent8e61823ec403b661359373f8f8b0c9a7c9ea368d (diff)
downloadgitea-d23b36c598cd30f2da7446ef20154f6172ae8795.tar.gz
gitea-d23b36c598cd30f2da7446ef20154f6172ae8795.zip
Error message for integration test (#2410)
Diffstat (limited to 'integrations')
-rw-r--r--integrations/integration_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/integrations/integration_test.go b/integrations/integration_test.go
index 2840b0fb69..4953eb280a 100644
--- a/integrations/integration_test.go
+++ b/integrations/integration_test.go
@@ -268,7 +268,8 @@ func MakeRequest(t testing.TB, req *http.Request, expectedStatus int) *TestRespo
}
mac.ServeHTTP(respWriter, req)
if expectedStatus != NoExpectedStatus {
- assert.EqualValues(t, expectedStatus, respWriter.HeaderCode)
+ assert.EqualValues(t, expectedStatus, respWriter.HeaderCode,
+ "Request URL: %s", req.URL.String())
}
return &TestResponse{
HeaderCode: respWriter.HeaderCode,