diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-11 10:36:05 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-14 09:11:27 +0100 |
commit | 59fd824cf3434a8417b73230f1840fed327e3495 (patch) | |
tree | b3c25022099adf2a41ed8da5328c4147d60add83 /server/tests/api/check-params/video-captions.ts | |
parent | 34caef7fc0710623c6894549423813d53f65b303 (diff) | |
download | PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.tar.gz PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.tar.zst PeerTube-59fd824cf3434a8417b73230f1840fed327e3495.zip |
Fix tests timeout
Diffstat (limited to 'server/tests/api/check-params/video-captions.ts')
-rw-r--r-- | server/tests/api/check-params/video-captions.ts | 7 |
1 files changed, 4 insertions, 3 deletions
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 | ||