Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix test

Chocobozzzcc518fdbcbc3
diff --git a/server/tests/api/runners/runner-vod-transcoding.ts b/server/tests/api/runners/runner-vod-transcoding.ts
index b08ee312c6..58478ba4a9 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 })
})