From: Chocobozzz Date: Tue, 8 Dec 2020 10:37:24 +0000 (+0100) Subject: Fix config test X-Git-Tag: v3.0.0-rc.1~104 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=8e2392e512f2652267b5483a17ce12f6deb645b8;hp=a59f210ff3a4cc87dd19aeaaf0f43f63a8310791;p=github%2FChocobozzz%2FPeerTube.git Fix config test --- diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts index c4dcfd96c..eb51d8909 100644 --- a/server/tests/api/server/config.ts +++ b/server/tests/api/server/config.ts @@ -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