diff options
Diffstat (limited to 'server/tests/api/check-params/video-files.ts')
-rw-r--r-- | server/tests/api/check-params/video-files.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/video-files.ts b/server/tests/api/check-params/video-files.ts index 4d43ab6f8..01d6a912b 100644 --- a/server/tests/api/check-params/video-files.ts +++ b/server/tests/api/check-params/video-files.ts | |||
@@ -87,7 +87,7 @@ describe('Test videos files', function () { | |||
87 | } | 87 | } |
88 | 88 | ||
89 | { | 89 | { |
90 | await servers[0].config.enableTranscoding(true, true) | 90 | await servers[0].config.enableTranscoding({ hls: true, webVideo: true }) |
91 | 91 | ||
92 | { | 92 | { |
93 | const { uuid } = await servers[0].videos.quickUpload({ name: 'both 1' }) | 93 | const { uuid } = await servers[0].videos.quickUpload({ name: 'both 1' }) |
@@ -108,7 +108,7 @@ describe('Test videos files', function () { | |||
108 | await waitJobs(servers) | 108 | await waitJobs(servers) |
109 | 109 | ||
110 | { | 110 | { |
111 | await servers[0].config.enableTranscoding(false, true) | 111 | await servers[0].config.enableTranscoding({ hls: true, webVideo: false }) |
112 | const { uuid } = await servers[0].videos.quickUpload({ name: 'hls' }) | 112 | const { uuid } = await servers[0].videos.quickUpload({ name: 'hls' }) |
113 | hlsId = uuid | 113 | hlsId = uuid |
114 | } | 114 | } |
@@ -116,7 +116,7 @@ describe('Test videos files', function () { | |||
116 | await waitJobs(servers) | 116 | await waitJobs(servers) |
117 | 117 | ||
118 | { | 118 | { |
119 | await servers[0].config.enableTranscoding(false, true) | 119 | await servers[0].config.enableTranscoding({ webVideo: true, hls: false }) |
120 | const { uuid } = await servers[0].videos.quickUpload({ name: 'web-video' }) | 120 | const { uuid } = await servers[0].videos.quickUpload({ name: 'web-video' }) |
121 | webVideoId = uuid | 121 | webVideoId = uuid |
122 | } | 122 | } |