From: Chocobozzz Date: Tue, 16 May 2023 08:10:58 +0000 (+0200) Subject: Fix test X-Git-Tag: v5.2.0-rc.1~133 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=cc518fdbcbc3d3566809040d822dd599e477b2be;p=github%2FChocobozzz%2FPeerTube.git Fix test --- diff --git a/server/tests/api/runners/runner-vod-transcoding.ts b/server/tests/api/runners/runner-vod-transcoding.ts index b08ee312c..58478ba4a 100644 --- a/server/tests/api/runners/runner-vod-transcoding.ts +++ b/server/tests/api/runners/runner-vod-transcoding.ts @@ -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 }) })