aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-captions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/video-captions.ts')
-rw-r--r--server/tests/api/check-params/video-captions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/check-params/video-captions.ts b/server/tests/api/check-params/video-captions.ts
index 5aaeb27fe..90f429314 100644
--- a/server/tests/api/check-params/video-captions.ts
+++ b/server/tests/api/check-params/video-captions.ts
@@ -151,7 +151,7 @@ describe('Test video captions API validator', function () {
151 // }) 151 // })
152 152
153 it('Should succeed with a valid captionfile extension and octet-stream mime type', async function () { 153 it('Should succeed with a valid captionfile extension and octet-stream mime type', async function () {
154 await server.captions.createVideoCaption({ 154 await server.captions.add({
155 language: 'zh', 155 language: 'zh',
156 videoId: video.uuid, 156 videoId: video.uuid,
157 fixture: 'subtitle-good.srt', 157 fixture: 'subtitle-good.srt',