diff options
Diffstat (limited to 'server/tests/utils/videos')
-rw-r--r-- | server/tests/utils/videos/videos.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts index 8e58f1f0c..9a4af0b9f 100644 --- a/server/tests/utils/videos/videos.ts +++ b/server/tests/utils/videos/videos.ts | |||
@@ -445,13 +445,11 @@ async function completeVideoCheck ( | |||
445 | expect(file.size).to.be.above(minSize).and.below(maxSize) | 445 | expect(file.size).to.be.above(minSize).and.below(maxSize) |
446 | 446 | ||
447 | { | 447 | { |
448 | const test = await testImage(url, attributes.thumbnailfile || attributes.fixture, videoDetails.thumbnailPath) | 448 | await testImage(url, attributes.thumbnailfile || attributes.fixture, videoDetails.thumbnailPath) |
449 | expect(test).to.equal(true) | ||
450 | } | 449 | } |
451 | 450 | ||
452 | if (attributes.previewfile) { | 451 | if (attributes.previewfile) { |
453 | const test = await testImage(url, attributes.previewfile, videoDetails.previewPath) | 452 | await testImage(url, attributes.previewfile, videoDetails.previewPath) |
454 | expect(test).to.equal(true) | ||
455 | } | 453 | } |
456 | 454 | ||
457 | const torrent = await webtorrentAdd(magnetUri, true) | 455 | const torrent = await webtorrentAdd(magnetUri, true) |