diff options
Diffstat (limited to 'server/tests/api/server/config.ts')
-rw-r--r-- | server/tests/api/server/config.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts index 6c37be113..c4dcfd96c 100644 --- a/server/tests/api/server/config.ts +++ b/server/tests/api/server/config.ts | |||
@@ -79,7 +79,7 @@ function checkInitialConfig (server: ServerInfo, data: CustomConfig) { | |||
79 | expect(data.transcoding.hls.enabled).to.be.true | 79 | expect(data.transcoding.hls.enabled).to.be.true |
80 | 80 | ||
81 | expect(data.live.enabled).to.be.false | 81 | expect(data.live.enabled).to.be.false |
82 | expect(data.live.allowReplay).to.be.true | 82 | expect(data.live.allowReplay).to.be.false |
83 | expect(data.live.maxDuration).to.equal(1000 * 3600 * 5) | 83 | expect(data.live.maxDuration).to.equal(1000 * 3600 * 5) |
84 | expect(data.live.maxInstanceLives).to.equal(20) | 84 | expect(data.live.maxInstanceLives).to.equal(20) |
85 | expect(data.live.maxUserLives).to.equal(3) | 85 | expect(data.live.maxUserLives).to.equal(3) |
@@ -166,7 +166,7 @@ function checkUpdatedConfig (data: CustomConfig) { | |||
166 | expect(data.transcoding.webtorrent.enabled).to.be.true | 166 | expect(data.transcoding.webtorrent.enabled).to.be.true |
167 | 167 | ||
168 | expect(data.live.enabled).to.be.true | 168 | expect(data.live.enabled).to.be.true |
169 | expect(data.live.allowReplay).to.be.false | 169 | expect(data.live.allowReplay).to.be.true |
170 | expect(data.live.maxDuration).to.equal(5000) | 170 | expect(data.live.maxDuration).to.equal(5000) |
171 | expect(data.live.maxInstanceLives).to.equal(-1) | 171 | expect(data.live.maxInstanceLives).to.equal(-1) |
172 | expect(data.live.maxUserLives).to.equal(10) | 172 | expect(data.live.maxUserLives).to.equal(10) |
@@ -332,7 +332,7 @@ describe('Test config', function () { | |||
332 | }, | 332 | }, |
333 | live: { | 333 | live: { |
334 | enabled: true, | 334 | enabled: true, |
335 | allowReplay: false, | 335 | allowReplay: true, |
336 | maxDuration: 5000, | 336 | maxDuration: 5000, |
337 | maxInstanceLives: -1, | 337 | maxInstanceLives: -1, |
338 | maxUserLives: 10, | 338 | maxUserLives: 10, |