aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/search/search-videos.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/search/search-videos.ts')
-rw-r--r--server/tests/api/search/search-videos.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/search/search-videos.ts b/server/tests/api/search/search-videos.ts
index f834c7f36..965766742 100644
--- a/server/tests/api/search/search-videos.ts
+++ b/server/tests/api/search/search-videos.ts
@@ -50,14 +50,14 @@ describe('Test videos search', function () {
50 const { id, uuid } = await server.videos.upload({ attributes: attributes3 }) 50 const { id, uuid } = await server.videos.upload({ attributes: attributes3 })
51 videoUUID = uuid 51 videoUUID = uuid
52 52
53 await server.captions.createVideoCaption({ 53 await server.captions.add({
54 language: 'en', 54 language: 'en',
55 videoId: id, 55 videoId: id,
56 fixture: 'subtitle-good2.vtt', 56 fixture: 'subtitle-good2.vtt',
57 mimeType: 'application/octet-stream' 57 mimeType: 'application/octet-stream'
58 }) 58 })
59 59
60 await server.captions.createVideoCaption({ 60 await server.captions.add({
61 language: 'aa', 61 language: 'aa',
62 videoId: id, 62 videoId: id,
63 fixture: 'subtitle-good2.vtt', 63 fixture: 'subtitle-good2.vtt',