diff options
Diffstat (limited to 'server/tests/api/videos/video-imports.ts')
-rw-r--r-- | server/tests/api/videos/video-imports.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-imports.ts b/server/tests/api/videos/video-imports.ts index adb97aba4..8d19a4274 100644 --- a/server/tests/api/videos/video-imports.ts +++ b/server/tests/api/videos/video-imports.ts | |||
@@ -134,7 +134,7 @@ describe('Test video imports', function () { | |||
134 | const enCaption = videoCaptions.find(caption => caption.language.id === 'en') | 134 | const enCaption = videoCaptions.find(caption => caption.language.id === 'en') |
135 | expect(enCaption).to.exist | 135 | expect(enCaption).to.exist |
136 | expect(enCaption.language.label).to.equal('English') | 136 | expect(enCaption.language.label).to.equal('English') |
137 | expect(enCaption.captionPath).to.equal(`/static/video-captions/${res.body.video.uuid}-en.vtt`) | 137 | expect(enCaption.captionPath).to.equal(`/lazy-static/video-captions/${res.body.video.uuid}-en.vtt`) |
138 | await testCaptionFile(servers[0].url, enCaption.captionPath, `WEBVTT | 138 | await testCaptionFile(servers[0].url, enCaption.captionPath, `WEBVTT |
139 | Kind: captions | 139 | Kind: captions |
140 | Language: en | 140 | Language: en |
@@ -151,7 +151,7 @@ Adding subtitles is very easy to do`) | |||
151 | const frCaption = videoCaptions.find(caption => caption.language.id === 'fr') | 151 | const frCaption = videoCaptions.find(caption => caption.language.id === 'fr') |
152 | expect(frCaption).to.exist | 152 | expect(frCaption).to.exist |
153 | expect(frCaption.language.label).to.equal('French') | 153 | expect(frCaption.language.label).to.equal('French') |
154 | expect(frCaption.captionPath).to.equal(`/static/video-captions/${res.body.video.uuid}-fr.vtt`) | 154 | expect(frCaption.captionPath).to.equal(`/lazy-static/video-captions/${res.body.video.uuid}-fr.vtt`) |
155 | await testCaptionFile(servers[0].url, frCaption.captionPath, `WEBVTT | 155 | await testCaptionFile(servers[0].url, frCaption.captionPath, `WEBVTT |
156 | Kind: captions | 156 | Kind: captions |
157 | Language: fr | 157 | Language: fr |