aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/shared
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/shared')
-rw-r--r--server/tests/shared/videos.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/tests/shared/videos.ts b/server/tests/shared/videos.ts
index 989865a49..3ab245392 100644
--- a/server/tests/shared/videos.ts
+++ b/server/tests/shared/videos.ts
@@ -115,6 +115,7 @@ async function completeVideoCheck (
115 // Transcoding enabled: extension will always be .mp4 115 // Transcoding enabled: extension will always be .mp4
116 if (attributes.files.length > 1) extension = '.mp4' 116 if (attributes.files.length > 1) extension = '.mp4'
117 117
118 expect(file.id).to.exist
118 expect(file.magnetUri).to.have.lengthOf.above(2) 119 expect(file.magnetUri).to.have.lengthOf.above(2)
119 120
120 expect(file.torrentDownloadUrl).to.match(new RegExp(`http://${host}/download/torrents/${uuidRegex}-${file.resolution.id}.torrent`)) 121 expect(file.torrentDownloadUrl).to.match(new RegExp(`http://${host}/download/torrents/${uuidRegex}-${file.resolution.id}.torrent`))