diff options
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 | ||