aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/runners/runner-vod-transcoding.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/runners/runner-vod-transcoding.ts')
-rw-r--r--server/tests/api/runners/runner-vod-transcoding.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/runners/runner-vod-transcoding.ts b/server/tests/api/runners/runner-vod-transcoding.ts
index ca16d9c10..ee6be4ee9 100644
--- a/server/tests/api/runners/runner-vod-transcoding.ts
+++ b/server/tests/api/runners/runner-vod-transcoding.ts
@@ -85,7 +85,7 @@ describe('Test runner VOD transcoding', function () {
85 before(async function () { 85 before(async function () {
86 this.timeout(60000) 86 this.timeout(60000)
87 87
88 await servers[0].config.enableTranscoding(true, true) 88 await servers[0].config.enableTranscoding({ hls: true, webVideo: true })
89 }) 89 })
90 90
91 it('Should error a transcoding job', async function () { 91 it('Should error a transcoding job', async function () {
@@ -133,7 +133,7 @@ describe('Test runner VOD transcoding', function () {
133 this.timeout(60000) 133 this.timeout(60000)
134 134
135 await servers[0].runnerJobs.cancelAllJobs() 135 await servers[0].runnerJobs.cancelAllJobs()
136 await servers[0].config.enableTranscoding(true, false) 136 await servers[0].config.enableTranscoding({ hls: false, webVideo: true })
137 137
138 const { uuid } = await servers[0].videos.quickUpload({ name: 'web video', fixture: 'video_short.webm' }) 138 const { uuid } = await servers[0].videos.quickUpload({ name: 'web video', fixture: 'video_short.webm' })
139 videoUUID = uuid 139 videoUUID = uuid
@@ -264,7 +264,7 @@ describe('Test runner VOD transcoding', function () {
264 before(async function () { 264 before(async function () {
265 this.timeout(60000) 265 this.timeout(60000)
266 266
267 await servers[0].config.enableTranscoding(false, true) 267 await servers[0].config.enableTranscoding({ hls: true, webVideo: false })
268 268
269 const { uuid } = await servers[0].videos.quickUpload({ name: 'hls video', fixture: 'video_short.webm' }) 269 const { uuid } = await servers[0].videos.quickUpload({ name: 'hls video', fixture: 'video_short.webm' })
270 videoUUID = uuid 270 videoUUID = uuid
@@ -384,7 +384,7 @@ describe('Test runner VOD transcoding', function () {
384 before(async function () { 384 before(async function () {
385 this.timeout(60000) 385 this.timeout(60000)
386 386
387 await servers[0].config.enableTranscoding(true, true) 387 await servers[0].config.enableTranscoding({ hls: true, webVideo: true })
388 388
389 await servers[0].videos.quickUpload({ name: 'web video and hls video', fixture: 'video_short.webm' }) 389 await servers[0].videos.quickUpload({ name: 'web video and hls video', fixture: 'video_short.webm' })
390 390
@@ -422,7 +422,7 @@ describe('Test runner VOD transcoding', function () {
422 before(async function () { 422 before(async function () {
423 this.timeout(60000) 423 this.timeout(60000)
424 424
425 await servers[0].config.enableTranscoding(true, true) 425 await servers[0].config.enableTranscoding({ hls: true, webVideo: true })
426 426
427 const attributes = { name: 'audio_with_preview', previewfile: 'custom-preview.jpg', fixture: 'sample.ogg' } 427 const attributes = { name: 'audio_with_preview', previewfile: 'custom-preview.jpg', fixture: 'sample.ogg' }
428 const { uuid } = await servers[0].videos.upload({ attributes, mode: 'legacy' }) 428 const { uuid } = await servers[0].videos.upload({ attributes, mode: 'legacy' })