0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-09 20:04:33 +01:00
This commit is contained in:
Lunny Xiao 2025-09-05 12:16:29 -07:00
parent bcfeb2af3e
commit 73af079998
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -304,7 +304,7 @@ func TestAPICron(t *testing.T) {
AddTokenAuth(token) AddTokenAuth(token)
resp := MakeRequest(t, req, http.StatusOK) 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 var crons []api.Cron
DecodeJSON(t, resp, &crons) DecodeJSON(t, resp, &crons)