aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/runners.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/runners.ts')
-rw-r--r--server/tests/api/check-params/runners.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/check-params/runners.ts b/server/tests/api/check-params/runners.ts
index 90a301392..cee1993e6 100644
--- a/server/tests/api/check-params/runners.ts
+++ b/server/tests/api/check-params/runners.ts
@@ -8,7 +8,7 @@ import {
8 RunnerJobState, 8 RunnerJobState,
9 RunnerJobSuccessPayload, 9 RunnerJobSuccessPayload,
10 RunnerJobUpdatePayload, 10 RunnerJobUpdatePayload,
11 RunnerJobVideoEditionTranscodingPayload, 11 RunnerJobStudioTranscodingPayload,
12 VideoPrivacy, 12 VideoPrivacy,
13 VideoStudioTaskIntro 13 VideoStudioTaskIntro
14} from '@shared/models' 14} from '@shared/models'
@@ -404,10 +404,10 @@ describe('Test managing runners', function () {
404 tasks: VideoStudioCommand.getComplexTask() 404 tasks: VideoStudioCommand.getComplexTask()
405 }) 405 })
406 406
407 const { job } = await server.runnerJobs.autoAccept({ runnerToken, type: 'video-edition-transcoding' }) 407 const { job } = await server.runnerJobs.autoAccept({ runnerToken, type: 'video-studio-transcoding' })
408 studioAcceptedJob = job 408 studioAcceptedJob = job
409 409
410 const tasks = (job.payload as RunnerJobVideoEditionTranscodingPayload).tasks 410 const tasks = (job.payload as RunnerJobStudioTranscodingPayload).tasks
411 const fileUrl = (tasks.find(t => isVideoStudioTaskIntro(t)) as VideoStudioTaskIntro).options.file as string 411 const fileUrl = (tasks.find(t => isVideoStudioTaskIntro(t)) as VideoStudioTaskIntro).options.file as string
412 studioFile = basename(fileUrl) 412 studioFile = basename(fileUrl)
413 } 413 }
@@ -787,7 +787,7 @@ describe('Test managing runners', function () {
787 787
788 describe('Video studio', function () { 788 describe('Video studio', function () {
789 789
790 it('Should fail with an invalid video edition transcoding payload', async function () { 790 it('Should fail with an invalid video studio transcoding payload', async function () {
791 await server.runnerJobs.success({ 791 await server.runnerJobs.success({
792 jobUUID: studioAcceptedJob.uuid, 792 jobUUID: studioAcceptedJob.uuid,
793 jobToken: studioAcceptedJob.jobToken, 793 jobToken: studioAcceptedJob.jobToken,
@@ -849,7 +849,7 @@ describe('Test managing runners', function () {
849 }) 849 })
850 }) 850 })
851 851
852 describe('Video edition tasks file routes', function () { 852 describe('Video studio tasks file routes', function () {
853 853
854 it('Should fail with an invalid studio filename', async function () { 854 it('Should fail with an invalid studio filename', async function () {
855 await fetchStudioFiles({ 855 await fetchStudioFiles({