]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix test
authorChocobozzz <me@florianbigard.com>
Tue, 16 May 2023 08:10:58 +0000 (10:10 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 16 May 2023 08:10:58 +0000 (10:10 +0200)
server/tests/api/runners/runner-vod-transcoding.ts

index b08ee312c60ab6bb4da0b52cde1431a400a77074..58478ba4a981cb97caccb5834e74f2d86c7618ae 100644 (file)
@@ -205,7 +205,7 @@ describe('Test runner VOD transcoding', function () {
 
       expect(body).to.deep.equal(inputFile)
 
-      const payload: VODWebVideoTranscodingSuccess = { videoFile: 'video_short_240p.mp4' }
+      const payload: VODWebVideoTranscodingSuccess = { videoFile: `video_short_${job.payload.output.resolution}p.mp4` }
       await servers[0].runnerJobs.success({ runnerToken, jobUUID, jobToken, payload })
     })