diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-28 16:06:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-28 16:06:49 +0200 |
commit | 74c8d5bf2d807870ed351fb2a0ee7137987aa995 (patch) | |
tree | dc4493ac1afe6b9033753741997318befa828940 /server/tests/api/videos/video-source.ts | |
parent | e390107e5acffda6b6fa994be1f2874183bab40c (diff) | |
download | PeerTube-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.ts | 4 |
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', |