Skip to content

Commit 551f8ba

Browse files
committed
Fix test
1 parent 0295c7b commit 551f8ba

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
@@ -304,11 +304,11 @@ func TestAPICron(t *testing.T) {
304304
AddTokenAuth(token)
305305
resp := MakeRequest(t, req, http.StatusOK)
306306

307-
assert.Equal(t, "29", resp.Header().Get("X-Total-Count"))
307+
assert.Equal(t, "30", resp.Header().Get("X-Total-Count"))
308308

309309
var crons []api.Cron
310310
DecodeJSON(t, resp, &crons)
311-
assert.Len(t, crons, 29)
311+
assert.Len(t, crons, 30)
312312
})
313313

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

0 commit comments

Comments
 (0)