From 74c8d5bf2d807870ed351fb2a0ee7137987aa995 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 Jul 2023 16:06:49 +0200 Subject: Refactor enableTranscoding command helpers --- server/tests/api/videos/video-source.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api/videos/video-source.ts') 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 () { const previousPaths: string[] = [] - await servers[0].config.enableTranscoding(true, true, true) + await servers[0].config.enableTranscoding({ hls: true, webVideo: true, with0p: true }) const { uuid: videoUUID } = await servers[0].videos.quickUpload({ name: 'fs with transcoding', fixture: 'video_short_720p.mp4' }) uuid = videoUUID @@ -387,7 +387,7 @@ describe('Test a video file replacement', function () { const previousPaths: string[] = [] - await servers[0].config.enableTranscoding(true, true, true) + await servers[0].config.enableTranscoding({ hls: true, webVideo: true, with0p: true }) const { uuid: videoUUID } = await servers[0].videos.quickUpload({ name: 'object storage with transcoding', -- cgit v1.2.3