diff options
author | Ethan Koenig <ethantkoenig@gmail.com> | 2017-12-03 14:46:01 -0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-12-04 00:46:01 +0200 |
commit | e59adcde655aac0e8afd3249407c9a0a2b1b1d6b (patch) | |
tree | a1b5859eadfe6ffdfc106012b7eab13a16459813 /integrations/pull_compare_test.go | |
parent | 993b86628bdf62c0565c2a57a73561bb2d535b22 (diff) | |
download | gitea-e59adcde655aac0e8afd3249407c9a0a2b1b1d6b.tar.gz gitea-e59adcde655aac0e8afd3249407c9a0a2b1b1d6b.zip |
Use httptest in integration tests (#3080)
Diffstat (limited to 'integrations/pull_compare_test.go')
-rw-r--r-- | integrations/pull_compare_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/pull_compare_test.go b/integrations/pull_compare_test.go index 593b2f4d01..dddaa391ed 100644 --- a/integrations/pull_compare_test.go +++ b/integrations/pull_compare_test.go @@ -23,5 +23,5 @@ func TestPullCompare(t *testing.T) { req = NewRequest(t, "GET", link) resp = session.MakeRequest(t, req, http.StatusOK) - assert.EqualValues(t, http.StatusOK, resp.HeaderCode) + assert.EqualValues(t, http.StatusOK, resp.Code) } |