aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-imports.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-26 15:03:00 +0200
committerChocobozzz <me@florianbigard.com>2020-08-26 15:03:00 +0200
commit20dcfd74982f4ec8a143696abed02b059d30d9ec (patch)
tree8956b19749f7d95a3a0e1b17c57c9b73a9ca6497 /server/tests/api/videos/video-imports.ts
parent000ca2a898a36214bbf8f787fef4af4cf5ad3c8d (diff)
downloadPeerTube-20dcfd74982f4ec8a143696abed02b059d30d9ec.tar.gz
PeerTube-20dcfd74982f4ec8a143696abed02b059d30d9ec.tar.zst
PeerTube-20dcfd74982f4ec8a143696abed02b059d30d9ec.zip
Deprecate old static routes
Diffstat (limited to 'server/tests/api/videos/video-imports.ts')
-rw-r--r--server/tests/api/videos/video-imports.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-imports.ts b/server/tests/api/videos/video-imports.ts
index efda4fc7b..adb97aba4 100644
--- a/server/tests/api/videos/video-imports.ts
+++ b/server/tests/api/videos/video-imports.ts
@@ -123,7 +123,7 @@ describe('Test video imports', function () {
123 const res = await importVideo(servers[0].url, servers[0].accessToken, attributes) 123 const res = await importVideo(servers[0].url, servers[0].accessToken, attributes)
124 expect(res.body.video.name).to.equal('small video - youtube') 124 expect(res.body.video.name).to.equal('small video - youtube')
125 expect(res.body.video.thumbnailPath).to.equal(`/static/thumbnails/${res.body.video.uuid}.jpg`) 125 expect(res.body.video.thumbnailPath).to.equal(`/static/thumbnails/${res.body.video.uuid}.jpg`)
126 expect(res.body.video.previewPath).to.equal(`/static/previews/${res.body.video.uuid}.jpg`) 126 expect(res.body.video.previewPath).to.equal(`/lazy-static/previews/${res.body.video.uuid}.jpg`)
127 await testImage(servers[0].url, 'video_import_thumbnail', res.body.video.thumbnailPath) 127 await testImage(servers[0].url, 'video_import_thumbnail', res.body.video.thumbnailPath)
128 await testImage(servers[0].url, 'video_import_preview', res.body.video.previewPath) 128 await testImage(servers[0].url, 'video_import_preview', res.body.video.previewPath)
129 129