]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/videos/videos.ts
Refactor AP video create/update
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / videos / videos.ts
index e88256ac0f52f411fc152557c332d76c39b57b1a..98a568a02523c07f9a2893e2610698f39122d810 100644 (file)
@@ -774,9 +774,11 @@ async function completeVideoCheck (
     expect(torrent.files[0].path).to.exist.and.to.not.equal('')
   }
 
+  expect(videoDetails.thumbnailPath).to.exist
   await testImage(url, attributes.thumbnailfile || attributes.fixture, videoDetails.thumbnailPath)
 
   if (attributes.previewfile) {
+    expect(videoDetails.previewPath).to.exist
     await testImage(url, attributes.previewfile, videoDetails.previewPath)
   }
 }