aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/config.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts
index f5183042c..60efd332c 100644
--- a/server/tests/api/server/config.ts
+++ b/server/tests/api/server/config.ts
@@ -363,10 +363,12 @@ describe('Test config', function () {
363 }) 363 })
364 364
365 it('Should have the correct updated video allowed extensions', async function () { 365 it('Should have the correct updated video allowed extensions', async function () {
366 this.timeout(10000)
367
366 const res = await getConfig(server.url) 368 const res = await getConfig(server.url)
367 const data: ServerConfig = res.body 369 const data: ServerConfig = res.body
368 370
369 expect(data.video.file.extensions).to.have.length.above(3) 371 expect(data.video.file.extensions).to.have.length.above(4)
370 expect(data.video.file.extensions).to.contain('.mp4') 372 expect(data.video.file.extensions).to.contain('.mp4')
371 expect(data.video.file.extensions).to.contain('.webm') 373 expect(data.video.file.extensions).to.contain('.webm')
372 expect(data.video.file.extensions).to.contain('.ogv') 374 expect(data.video.file.extensions).to.contain('.ogv')