diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/server/follows.ts | 2 |
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 | ||