From db714ab48a6444785f4b63706d56c50d38dac5ac Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 12 Jun 2019 17:33:29 +0200 Subject: Fix notification overflow --- server/tests/api/check-params/config.ts | 3 ++- server/tests/api/server/config.ts | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts index 8155e11ab..a0d9392dc 100644 --- a/server/tests/api/check-params/config.ts +++ b/server/tests/api/check-params/config.ts @@ -66,7 +66,8 @@ describe('Test config API validators', function () { '360p': true, '480p': true, '720p': false, - '1080p': false + '1080p': false, + '2160p': false }, hls: { enabled: false diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts index 8ea21158a..c39516dee 100644 --- a/server/tests/api/server/config.ts +++ b/server/tests/api/server/config.ts @@ -59,6 +59,7 @@ function checkInitialConfig (server: ServerInfo, data: CustomConfig) { expect(data.transcoding.resolutions['480p']).to.be.true expect(data.transcoding.resolutions['720p']).to.be.true expect(data.transcoding.resolutions['1080p']).to.be.true + expect(data.transcoding.resolutions['2160p']).to.be.true expect(data.transcoding.hls.enabled).to.be.true expect(data.import.videos.http.enabled).to.be.true @@ -109,6 +110,7 @@ function checkUpdatedConfig (data: CustomConfig) { expect(data.transcoding.resolutions['480p']).to.be.true expect(data.transcoding.resolutions['720p']).to.be.false expect(data.transcoding.resolutions['1080p']).to.be.false + expect(data.transcoding.resolutions['2160p']).to.be.false expect(data.transcoding.hls.enabled).to.be.false expect(data.import.videos.http.enabled).to.be.false @@ -227,7 +229,8 @@ describe('Test config', function () { '360p': true, '480p': true, '720p': false, - '1080p': false + '1080p': false, + '2160p': false }, hls: { enabled: false -- cgit v1.2.3