From 3827c3b3488845f4235714e92eea439423df2909 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Sep 2018 14:46:54 +0200 Subject: Fix quota translations --- server/tests/api/server/jobs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api') diff --git a/server/tests/api/server/jobs.ts b/server/tests/api/server/jobs.ts index f5a19c5ea..cd59d9a1b 100644 --- a/server/tests/api/server/jobs.ts +++ b/server/tests/api/server/jobs.ts @@ -41,9 +41,9 @@ describe('Test jobs', function () { }) it('Should list jobs with sort and pagination', async function () { - const res = await getJobsListPaginationAndSort(servers[1].url, servers[1].accessToken, 'completed', 1, 1, 'createdAt') + const res = await getJobsListPaginationAndSort(servers[1].url, servers[1].accessToken, 'completed', 1, 2, 'createdAt') expect(res.body.total).to.be.above(2) - expect(res.body.data).to.have.lengthOf(1) + expect(res.body.data).to.have.lengthOf(2) let job = res.body.data[0] // Skip repeat jobs -- cgit v1.2.3