]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/jobs.ts
Fix quota translations
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / jobs.ts
index f5a19c5ea9ec2577ab9dc6fd72695bc6458b96bf..cd59d9a1bc913cce365f3e327ace640d0854d55d 100644 (file)
@@ -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