aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r--server/tests/api/check-params/live.ts4
-rw-r--r--server/tests/api/check-params/video-captions.ts7
2 files changed, 6 insertions, 5 deletions
diff --git a/server/tests/api/check-params/live.ts b/server/tests/api/check-params/live.ts
index 7e76caf6e..a5493572b 100644
--- a/server/tests/api/check-params/live.ts
+++ b/server/tests/api/check-params/live.ts
@@ -402,7 +402,7 @@ describe('Test video lives API validator', function () {
402 }) 402 })
403 403
404 it('Should fail to update a live if it has already started', async function () { 404 it('Should fail to update a live if it has already started', async function () {
405 this.timeout(20000) 405 this.timeout(40000)
406 406
407 const resLive = await getLive(server.url, server.accessToken, videoId) 407 const resLive = await getLive(server.url, server.accessToken, videoId)
408 const live: LiveVideo = resLive.body 408 const live: LiveVideo = resLive.body
@@ -416,7 +416,7 @@ describe('Test video lives API validator', function () {
416 }) 416 })
417 417
418 it('Should fail to stream twice in the save live', async function () { 418 it('Should fail to stream twice in the save live', async function () {
419 this.timeout(30000) 419 this.timeout(40000)
420 420
421 const resLive = await getLive(server.url, server.accessToken, videoId) 421 const resLive = await getLive(server.url, server.accessToken, videoId)
422 const live: LiveVideo = resLive.body 422 const live: LiveVideo = resLive.body
diff --git a/server/tests/api/check-params/video-captions.ts b/server/tests/api/check-params/video-captions.ts
index e42e8db81..2f049c03d 100644
--- a/server/tests/api/check-params/video-captions.ts
+++ b/server/tests/api/check-params/video-captions.ts
@@ -58,7 +58,7 @@ describe('Test video captions API validator', function () {
58 await makeUploadRequest({ 58 await makeUploadRequest({
59 method: 'PUT', 59 method: 'PUT',
60 url: server.url, 60 url: server.url,
61 path: path + '4da6fde3-88f7-4d16-b119-108df563d0b06/captions', 61 path: path + '4da6fde3-88f7-4d16-b119-108df563d0b06/captions/fr',
62 token: server.accessToken, 62 token: server.accessToken,
63 fields, 63 fields,
64 attaches 64 attaches
@@ -69,10 +69,11 @@ describe('Test video captions API validator', function () {
69 await makeUploadRequest({ 69 await makeUploadRequest({
70 method: 'PUT', 70 method: 'PUT',
71 url: server.url, 71 url: server.url,
72 path: path + '4da6fde3-88f7-4d16-b119-108df5630b06/captions', 72 path: path + '4da6fde3-88f7-4d16-b119-108df5630b06/captions/fr',
73 token: server.accessToken, 73 token: server.accessToken,
74 fields, 74 fields,
75 attaches 75 attaches,
76 statusCodeExpected: 404
76 }) 77 })
77 }) 78 })
78 79