]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/follows.ts
Merge branch 'release/3.3.0' into develop
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / follows.ts
index a616edcfff89eeb403a99330d3e43212162f91b5..832ba561ade5ed963a97d2d3dcd6f94a89a5e650 100644 (file)
@@ -416,7 +416,7 @@ describe('Test follows', function () {
         await servers[2].comments.delete({ videoId: video4.id, commentId: replyId })
       }
 
-      await servers[2].captions.createVideoCaption({
+      await servers[2].captions.add({
         language: 'ar',
         videoId: video4.id,
         fixture: 'subtitle-good2.vtt'
@@ -569,7 +569,7 @@ describe('Test follows', function () {
     })
 
     it('Should have propagated captions', async function () {
-      const body = await servers[0].captions.listVideoCaptions({ videoId: video4.id })
+      const body = await servers[0].captions.list({ videoId: video4.id })
       expect(body.total).to.equal(1)
       expect(body.data).to.have.lengthOf(1)