diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/server/jobs.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 () { | |||
41 | }) | 41 | }) |
42 | 42 | ||
43 | it('Should list jobs with sort and pagination', async function () { | 43 | it('Should list jobs with sort and pagination', async function () { |
44 | const res = await getJobsListPaginationAndSort(servers[1].url, servers[1].accessToken, 'completed', 1, 1, 'createdAt') | 44 | const res = await getJobsListPaginationAndSort(servers[1].url, servers[1].accessToken, 'completed', 1, 2, 'createdAt') |
45 | expect(res.body.total).to.be.above(2) | 45 | expect(res.body.total).to.be.above(2) |
46 | expect(res.body.data).to.have.lengthOf(1) | 46 | expect(res.body.data).to.have.lengthOf(2) |
47 | 47 | ||
48 | let job = res.body.data[0] | 48 | let job = res.body.data[0] |
49 | // Skip repeat jobs | 49 | // Skip repeat jobs |