aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-source.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-28 16:06:49 +0200
committerChocobozzz <me@florianbigard.com>2023-07-28 16:06:49 +0200
commit74c8d5bf2d807870ed351fb2a0ee7137987aa995 (patch)
treedc4493ac1afe6b9033753741997318befa828940 /server/tests/api/videos/video-source.ts
parente390107e5acffda6b6fa994be1f2874183bab40c (diff)
downloadPeerTube-74c8d5bf2d807870ed351fb2a0ee7137987aa995.tar.gz
PeerTube-74c8d5bf2d807870ed351fb2a0ee7137987aa995.tar.zst
PeerTube-74c8d5bf2d807870ed351fb2a0ee7137987aa995.zip
Refactor enableTranscoding command helpers
Diffstat (limited to 'server/tests/api/videos/video-source.ts')
-rw-r--r--server/tests/api/videos/video-source.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-source.ts b/server/tests/api/videos/video-source.ts
index 8669f342e..1f394f904 100644
--- a/server/tests/api/videos/video-source.ts
+++ b/server/tests/api/videos/video-source.ts
@@ -114,7 +114,7 @@ describe('Test a video file replacement', function () {
114 114
115 const previousPaths: string[] = [] 115 const previousPaths: string[] = []
116 116
117 await servers[0].config.enableTranscoding(true, true, true) 117 await servers[0].config.enableTranscoding({ hls: true, webVideo: true, with0p: true })
118 118
119 const { uuid: videoUUID } = await servers[0].videos.quickUpload({ name: 'fs with transcoding', fixture: 'video_short_720p.mp4' }) 119 const { uuid: videoUUID } = await servers[0].videos.quickUpload({ name: 'fs with transcoding', fixture: 'video_short_720p.mp4' })
120 uuid = videoUUID 120 uuid = videoUUID
@@ -387,7 +387,7 @@ describe('Test a video file replacement', function () {
387 387
388 const previousPaths: string[] = [] 388 const previousPaths: string[] = []
389 389
390 await servers[0].config.enableTranscoding(true, true, true) 390 await servers[0].config.enableTranscoding({ hls: true, webVideo: true, with0p: true })
391 391
392 const { uuid: videoUUID } = await servers[0].videos.quickUpload({ 392 const { uuid: videoUUID } = await servers[0].videos.quickUpload({
393 name: 'object storage with transcoding', 393 name: 'object storage with transcoding',