aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/config.ts')
-rw-r--r--server/tests/api/check-params/config.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts
index 472cad182..80b616ccf 100644
--- a/server/tests/api/check-params/config.ts
+++ b/server/tests/api/check-params/config.ts
@@ -74,6 +74,9 @@ describe('Test config API validators', function () {
74 }, 74 },
75 torrents: { 75 torrents: {
76 size: 4 76 size: 4
77 },
78 storyboards: {
79 size: 5
77 } 80 }
78 }, 81 },
79 signup: { 82 signup: {
@@ -123,7 +126,7 @@ describe('Test config API validators', function () {
123 '2160p': false 126 '2160p': false
124 }, 127 },
125 alwaysTranscodeOriginalResolution: false, 128 alwaysTranscodeOriginalResolution: false,
126 webtorrent: { 129 webVideos: {
127 enabled: true 130 enabled: true
128 }, 131 },
129 hls: { 132 hls: {
@@ -342,7 +345,7 @@ describe('Test config API validators', function () {
342 }) 345 })
343 }) 346 })
344 347
345 it('Should fail with a disabled webtorrent & hls transcoding', async function () { 348 it('Should fail with a disabled web videos & hls transcoding', async function () {
346 const newUpdateParams = { 349 const newUpdateParams = {
347 ...updateParams, 350 ...updateParams,
348 351
@@ -350,7 +353,7 @@ describe('Test config API validators', function () {
350 hls: { 353 hls: {
351 enabled: false 354 enabled: false
352 }, 355 },
353 webtorrent: { 356 web_videos: {
354 enabled: false 357 enabled: false
355 } 358 }
356 } 359 }