aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/runners
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-16 10:10:58 +0200
committerChocobozzz <me@florianbigard.com>2023-05-16 10:10:58 +0200
commitcc518fdbcbc3d3566809040d822dd599e477b2be (patch)
tree15a239a7b7b12e03cf2509109f962e15cbe16ebd /server/tests/api/runners
parent49b80bd9e1d285dd555f95eb8deecc978ecfb227 (diff)
downloadPeerTube-cc518fdbcbc3d3566809040d822dd599e477b2be.tar.gz
PeerTube-cc518fdbcbc3d3566809040d822dd599e477b2be.tar.zst
PeerTube-cc518fdbcbc3d3566809040d822dd599e477b2be.zip
Fix test
Diffstat (limited to 'server/tests/api/runners')
-rw-r--r--server/tests/api/runners/runner-vod-transcoding.ts2
1 files changed, 1 insertions, 1 deletions
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 () {
205 205
206 expect(body).to.deep.equal(inputFile) 206 expect(body).to.deep.equal(inputFile)
207 207
208 const payload: VODWebVideoTranscodingSuccess = { videoFile: 'video_short_240p.mp4' } 208 const payload: VODWebVideoTranscodingSuccess = { videoFile: `video_short_${job.payload.output.resolution}p.mp4` }
209 await servers[0].runnerJobs.success({ runnerToken, jobUUID, jobToken, payload }) 209 await servers[0].runnerJobs.success({ runnerToken, jobUUID, jobToken, payload })
210 }) 210 })
211 211