]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix config test
authorChocobozzz <me@florianbigard.com>
Tue, 8 Dec 2020 10:37:24 +0000 (11:37 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 8 Dec 2020 10:37:24 +0000 (11:37 +0100)
server/tests/api/server/config.ts

index c4dcfd96c246fd3a8611850e8e634be5f3337c0c..eb51d8909c1f1284327f67173ebd26d0242fdf94 100644 (file)
@@ -80,7 +80,7 @@ function checkInitialConfig (server: ServerInfo, data: CustomConfig) {
 
   expect(data.live.enabled).to.be.false
   expect(data.live.allowReplay).to.be.false
-  expect(data.live.maxDuration).to.equal(1000 * 3600 * 5)
+  expect(data.live.maxDuration).to.be.null
   expect(data.live.maxInstanceLives).to.equal(20)
   expect(data.live.maxUserLives).to.equal(3)
   expect(data.live.transcoding.enabled).to.be.false