aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/single-pod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/single-pod.ts')
-rw-r--r--server/tests/api/single-pod.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/api/single-pod.ts b/server/tests/api/single-pod.ts
index 82bc51a3e..71017b2b3 100644
--- a/server/tests/api/single-pod.ts
+++ b/server/tests/api/single-pod.ts
@@ -127,6 +127,8 @@ describe('Test a single pod', function () {
127 const file = video.files[0] 127 const file = video.files[0]
128 const magnetUri = file.magnetUri 128 const magnetUri = file.magnetUri
129 expect(file.magnetUri).to.have.lengthOf.above(2) 129 expect(file.magnetUri).to.have.lengthOf.above(2)
130 expect(file.torrentUrl).to.equal(`${server.url}/static/torrents/${video.uuid}-${file.resolution}.torrent`)
131 expect(file.fileUrl).to.equal(`${server.url}/static/webseed/${video.uuid}-${file.resolution}.webm`)
130 expect(file.resolution).to.equal(720) 132 expect(file.resolution).to.equal(720)
131 expect(file.resolutionLabel).to.equal('720p') 133 expect(file.resolutionLabel).to.equal('720p')
132 expect(file.size).to.equal(218910) 134 expect(file.size).to.equal(218910)