aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/runners.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-22 14:31:35 +0200
committerChocobozzz <me@florianbigard.com>2023-05-22 15:03:14 +0200
commit6a9b3151822461a85bbc72b7a50e12ffb69bec3a (patch)
tree1685c31114707d90144100319aead6c63aef6254 /server/tests/api/check-params/runners.ts
parent8762b1c7ffbb82e817bb07b381503997b5aca50d (diff)
downloadPeerTube-6a9b3151822461a85bbc72b7a50e12ffb69bec3a.tar.gz
PeerTube-6a9b3151822461a85bbc72b7a50e12ffb69bec3a.tar.zst
PeerTube-6a9b3151822461a85bbc72b7a50e12ffb69bec3a.zip
Fix tests
Diffstat (limited to 'server/tests/api/check-params/runners.ts')
-rw-r--r--server/tests/api/check-params/runners.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/server/tests/api/check-params/runners.ts b/server/tests/api/check-params/runners.ts
index cee1993e6..48821b678 100644
--- a/server/tests/api/check-params/runners.ts
+++ b/server/tests/api/check-params/runners.ts
@@ -674,22 +674,6 @@ describe('Test managing runners', function () {
674 await testUpdate({ ...base, type: undefined }) 674 await testUpdate({ ...base, type: undefined })
675 await testUpdate({ ...base, type: 'toto' as any }) 675 await testUpdate({ ...base, type: 'toto' as any })
676 }) 676 })
677
678 it('Should succeed with the correct params', async function () {
679 await server.runnerJobs.update({
680 jobUUID: liveAcceptedJob.uuid,
681 jobToken: liveAcceptedJob.jobToken,
682 payload: base,
683 runnerToken
684 })
685
686 await server.runnerJobs.update({
687 jobUUID: liveAcceptedJob.uuid,
688 jobToken: liveAcceptedJob.jobToken,
689 payload: { ...base, masterPlaylistFile: undefined },
690 runnerToken
691 })
692 })
693 }) 677 })
694 }) 678 })
695 679