]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/shared/videos.ts
Allow admins to disable two factor auth
[github/Chocobozzz/PeerTube.git] / server / tests / shared / videos.ts
index 6be094f2bfcea4f21311f31976da7382ef9874dc..e18329e07677279d9b7703a74577c0021f14bf2b 100644 (file)
@@ -115,6 +115,7 @@ async function completeVideoCheck (
     // Transcoding enabled: extension will always be .mp4
     if (attributes.files.length > 1) extension = '.mp4'
 
+    expect(file.id).to.exist
     expect(file.magnetUri).to.have.lengthOf.above(2)
 
     expect(file.torrentDownloadUrl).to.match(new RegExp(`http://${host}/download/torrents/${uuidRegex}-${file.resolution.id}.torrent`))