aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli/optimize-old-videos.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/cli/optimize-old-videos.ts')
-rw-r--r--server/tests/cli/optimize-old-videos.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/server/tests/cli/optimize-old-videos.ts b/server/tests/cli/optimize-old-videos.ts
index e2e13598f..43f9b7f55 100644
--- a/server/tests/cli/optimize-old-videos.ts
+++ b/server/tests/cli/optimize-old-videos.ts
@@ -28,10 +28,6 @@ const expect = chai.expect
28 28
29describe('Test optimize old videos', function () { 29describe('Test optimize old videos', function () {
30 let servers: ServerInfo[] = [] 30 let servers: ServerInfo[] = []
31 // eslint-disable-next-line @typescript-eslint/no-unused-vars
32 let video1UUID: string
33 // eslint-disable-next-line @typescript-eslint/no-unused-vars
34 let video2UUID: string
35 31
36 before(async function () { 32 before(async function () {
37 this.timeout(200000) 33 this.timeout(200000)
@@ -52,10 +48,8 @@ describe('Test optimize old videos', function () {
52 } 48 }
53 49
54 // Upload two videos for our needs 50 // Upload two videos for our needs
55 const res1 = await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'video1', fixture: tempFixturePath }) 51 await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'video1', fixture: tempFixturePath })
56 video1UUID = res1.body.video.uuid 52 await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'video2', fixture: tempFixturePath })
57 const res2 = await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'video2', fixture: tempFixturePath })
58 video2UUID = res2.body.video.uuid
59 53
60 await waitJobs(servers) 54 await waitJobs(servers)
61 }) 55 })