aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-16 08:50:40 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-02-16 10:36:44 +0100
commita35a22797c99f17924347da9a226068c3dbe4787 (patch)
treeaffb713929145f90f6bda8828ded3ac2f4f73b19 /server/tests/api
parent6302d599cdf98b5a5363a2a1dcdc266447950191 (diff)
downloadPeerTube-a35a22797c99f17924347da9a226068c3dbe4787.tar.gz
PeerTube-a35a22797c99f17924347da9a226068c3dbe4787.tar.zst
PeerTube-a35a22797c99f17924347da9a226068c3dbe4787.zip
Remove previous thumbnail if needed
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/follows.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/server/follows.ts b/server/tests/api/server/follows.ts
index 6467238cd..eb9ab10eb 100644
--- a/server/tests/api/server/follows.ts
+++ b/server/tests/api/server/follows.ts
@@ -558,7 +558,7 @@ describe('Test follows', function () {
558 const caption1: VideoCaption = res.body.data[0] 558 const caption1: VideoCaption = res.body.data[0]
559 expect(caption1.language.id).to.equal('ar') 559 expect(caption1.language.id).to.equal('ar')
560 expect(caption1.language.label).to.equal('Arabic') 560 expect(caption1.language.label).to.equal('Arabic')
561 expect(caption1.captionPath).to.equal('/lazy-static/video-captions/' + video4.uuid + '-ar.vtt') 561 expect(caption1.captionPath).to.match(new RegExp('^/lazy-static/video-captions/.+-ar.vtt$'))
562 await testCaptionFile(servers[0].url, caption1.captionPath, 'Subtitle good 2.') 562 await testCaptionFile(servers[0].url, caption1.captionPath, 'Subtitle good 2.')
563 }) 563 })
564 564