aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/runners.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/check-params/runners.ts
parente390107e5acffda6b6fa994be1f2874183bab40c (diff)
downloadPeerTube-74c8d5bf2d807870ed351fb2a0ee7137987aa995.tar.gz
PeerTube-74c8d5bf2d807870ed351fb2a0ee7137987aa995.tar.zst
PeerTube-74c8d5bf2d807870ed351fb2a0ee7137987aa995.zip
Refactor enableTranscoding command helpers
Diffstat (limited to 'server/tests/api/check-params/runners.ts')
-rw-r--r--server/tests/api/check-params/runners.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/runners.ts b/server/tests/api/check-params/runners.ts
index 7f9a0cd32..0e5012da5 100644
--- a/server/tests/api/check-params/runners.ts
+++ b/server/tests/api/check-params/runners.ts
@@ -65,7 +65,7 @@ describe('Test managing runners', function () {
65 registrationToken = data[0].registrationToken 65 registrationToken = data[0].registrationToken
66 registrationTokenId = data[0].id 66 registrationTokenId = data[0].id
67 67
68 await server.config.enableTranscoding(true, true) 68 await server.config.enableTranscoding({ hls: true, webVideo: true })
69 await server.config.enableStudio() 69 await server.config.enableStudio()
70 await server.config.enableRemoteTranscoding() 70 await server.config.enableRemoteTranscoding()
71 await server.config.enableRemoteStudio() 71 await server.config.enableRemoteStudio()
@@ -451,7 +451,7 @@ describe('Test managing runners', function () {
451 const { uuid } = await server.videos.quickUpload({ name: 'video studio' }) 451 const { uuid } = await server.videos.quickUpload({ name: 'video studio' })
452 videoStudioUUID = uuid 452 videoStudioUUID = uuid
453 453
454 await server.config.enableTranscoding(true, true) 454 await server.config.enableTranscoding({ hls: true, webVideo: true })
455 await server.config.enableStudio() 455 await server.config.enableStudio()
456 456
457 await server.videoStudio.createEditionTasks({ 457 await server.videoStudio.createEditionTasks({