Use httptest in integration tests (#3080)

This commit is contained in:
Ethan Koenig authored and Lauris BH committed 2017-12-04 00:46:01 +02:00
1 parent 993b86628b
commit e59adcde65
12 files changed
+77 -100

No files matched your search

+1 -1
View File
@@ -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)
}