Skip to content

Commit 360ac8e

Browse files
committed
[GITEA] Show manual cron run's last time (squash) 27 jobs in cron fixtures
(cherry picked from commit bb71759454071a3f555afdb33702e2af6037fc9b) (cherry picked from commit cc258d342e80dd40d8107b6581c452d2b71c2598) (cherry picked from commit f3c615e7d254e259357ff0b75873cb1551d8ccf5)
1 parent 223537f commit 360ac8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/api_admin_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,11 @@ func TestAPICron(t *testing.T) {
298298
req := NewRequest(t, "GET", urlStr)
299299
resp := MakeRequest(t, req, http.StatusOK)
300300

301-
assert.Equal(t, "26", resp.Header().Get("X-Total-Count"))
301+
assert.Equal(t, "27", resp.Header().Get("X-Total-Count"))
302302

303303
var crons []api.Cron
304304
DecodeJSON(t, resp, &crons)
305-
assert.Len(t, crons, 26)
305+
assert.Len(t, crons, 27)
306306
})
307307

308308
t.Run("Execute", func(t *testing.T) {

0 commit comments

Comments
 (0)