aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-26 14:46:54 +0200
committerChocobozzz <me@florianbigard.com>2018-09-26 14:50:39 +0200
commit3827c3b3488845f4235714e92eea439423df2909 (patch)
tree2254b6ab4745099730c384110665fb11c5e82f52 /server/tests
parent4a216666e7f353e638c6927a9ff0c8fce4e94014 (diff)
downloadPeerTube-3827c3b3488845f4235714e92eea439423df2909.tar.gz
PeerTube-3827c3b3488845f4235714e92eea439423df2909.tar.zst
PeerTube-3827c3b3488845f4235714e92eea439423df2909.zip
Fix quota translations
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/server/jobs.ts4
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