mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-09 15:43:46 +01:00
Fix test
This commit is contained in:
parent
bcfeb2af3e
commit
73af079998
@ -304,7 +304,7 @@ func TestAPICron(t *testing.T) {
|
||||
AddTokenAuth(token)
|
||||
resp := MakeRequest(t, req, http.StatusOK)
|
||||
|
||||
assert.Equal(t, "29", resp.Header().Get("X-Total-Count"))
|
||||
assert.Equal(t, "30", resp.Header().Get("X-Total-Count"))
|
||||
|
||||
var crons []api.Cron
|
||||
DecodeJSON(t, resp, &crons)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user