forked from forgejo/forgejo
Use httptest in integration tests (#3080)
This commit is contained in:
parent
993b86628b
commit
e59adcde65
12 changed files with 77 additions and 100 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue