Kaynağa Gözat

Error message for integration test (#2410)

tags/v1.3.0-rc1
Ethan Koenig 6 yıl önce
ebeveyn
işleme
d23b36c598
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2
    1
      integrations/integration_test.go

+ 2
- 1
integrations/integration_test.go Dosyayı Görüntüle

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

Loading…
İptal
Kaydet