aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-02 10:49:48 +0200
committerChocobozzz <me@florianbigard.com>2022-05-03 08:32:20 +0200
commit86c5229b4d726202378ef46854383bcafca22310 (patch)
tree871f1fe8b9f3043dcbc132d5771a32f41ab202b1 /server/tests/api/check-params
parent98ebfa39500ce9dfbb782e43c4d269f9a2989698 (diff)
downloadPeerTube-86c5229b4d726202378ef46854383bcafca22310.tar.gz
PeerTube-86c5229b4d726202378ef46854383bcafca22310.tar.zst
PeerTube-86c5229b4d726202378ef46854383bcafca22310.zip
Save replay of permanent live in client
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r--server/tests/api/check-params/live.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/server/tests/api/check-params/live.ts b/server/tests/api/check-params/live.ts
index 8d520da0d..bbd331657 100644
--- a/server/tests/api/check-params/live.ts
+++ b/server/tests/api/check-params/live.ts
@@ -414,12 +414,6 @@ describe('Test video lives API validator', function () {
414 await command.update({ videoId: videoIdNotLive, fields: {}, expectedStatus: HttpStatusCode.NOT_FOUND_404 }) 414 await command.update({ videoId: videoIdNotLive, fields: {}, expectedStatus: HttpStatusCode.NOT_FOUND_404 })
415 }) 415 })
416 416
417 it('Should fail with save replay and permanent live set to true', async function () {
418 const fields = { saveReplay: true, permanentLive: true }
419
420 await command.update({ videoId: video.id, fields, expectedStatus: HttpStatusCode.BAD_REQUEST_400 })
421 })
422
423 it('Should fail with bad latency setting', async function () { 417 it('Should fail with bad latency setting', async function () {
424 const fields = { latencyMode: 42 } 418 const fields = { latencyMode: 42 }
425 419