]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/search/search-videos.ts
Rename captions commands
[github/Chocobozzz/PeerTube.git] / server / tests / api / search / search-videos.ts
index f834c7f3674cb8b027c6709f6d9994daae41cb54..96576674264bf58244bbe6a73a994752866872f8 100644 (file)
@@ -50,14 +50,14 @@ describe('Test videos search', function () {
         const { id, uuid } = await server.videos.upload({ attributes: attributes3 })
         videoUUID = uuid
 
-        await server.captions.createVideoCaption({
+        await server.captions.add({
           language: 'en',
           videoId: id,
           fixture: 'subtitle-good2.vtt',
           mimeType: 'application/octet-stream'
         })
 
-        await server.captions.createVideoCaption({
+        await server.captions.add({
           language: 'aa',
           videoId: id,
           fixture: 'subtitle-good2.vtt',