From cc518fdbcbc3d3566809040d822dd599e477b2be Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 16 May 2023 10:10:58 +0200 Subject: [PATCH] Fix test --- server/tests/api/runners/runner-vod-transcoding.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) }) -- 2.41.0