aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/multiple-pods.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-03 16:04:14 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-03 17:16:47 +0200
commitecb455b6c42bd75c9d87294c2479fa53b739d0a8 (patch)
tree1d9ea1864e3877e1b48bf520e95cdc337d391311 /server/tests/api/multiple-pods.ts
parent40298b02546e8225dd21bf6048fe7f224aefc32a (diff)
downloadPeerTube-ecb455b6c42bd75c9d87294c2479fa53b739d0a8.tar.gz
PeerTube-ecb455b6c42bd75c9d87294c2479fa53b739d0a8.tar.zst
PeerTube-ecb455b6c42bd75c9d87294c2479fa53b739d0a8.zip
Add migration script
Diffstat (limited to 'server/tests/api/multiple-pods.ts')
-rw-r--r--server/tests/api/multiple-pods.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/multiple-pods.ts b/server/tests/api/multiple-pods.ts
index 9860935e5..c43793b30 100644
--- a/server/tests/api/multiple-pods.ts
+++ b/server/tests/api/multiple-pods.ts
@@ -197,22 +197,22 @@ describe('Test multiple pods', function () {
197 expect(originalFile.resolutionLabel).to.equal('original') 197 expect(originalFile.resolutionLabel).to.equal('original')
198 expect(originalFile.size).to.equal(711327) 198 expect(originalFile.size).to.equal(711327)
199 199
200 const file240p = video.files.find(f => f.resolution === 1) 200 const file240p = video.files.find(f => f.resolution === 240)
201 expect(file240p).not.to.be.undefined 201 expect(file240p).not.to.be.undefined
202 expect(file240p.resolutionLabel).to.equal('240p') 202 expect(file240p.resolutionLabel).to.equal('240p')
203 expect(file240p.size).to.equal(139953) 203 expect(file240p.size).to.equal(139953)
204 204
205 const file360p = video.files.find(f => f.resolution === 2) 205 const file360p = video.files.find(f => f.resolution === 360)
206 expect(file360p).not.to.be.undefined 206 expect(file360p).not.to.be.undefined
207 expect(file360p.resolutionLabel).to.equal('360p') 207 expect(file360p.resolutionLabel).to.equal('360p')
208 expect(file360p.size).to.equal(169926) 208 expect(file360p.size).to.equal(169926)
209 209
210 const file480p = video.files.find(f => f.resolution === 3) 210 const file480p = video.files.find(f => f.resolution === 480)
211 expect(file480p).not.to.be.undefined 211 expect(file480p).not.to.be.undefined
212 expect(file480p.resolutionLabel).to.equal('480p') 212 expect(file480p.resolutionLabel).to.equal('480p')
213 expect(file480p.size).to.equal(206758) 213 expect(file480p.size).to.equal(206758)
214 214
215 const file720p = video.files.find(f => f.resolution === 4) 215 const file720p = video.files.find(f => f.resolution === 720)
216 expect(file720p).not.to.be.undefined 216 expect(file720p).not.to.be.undefined
217 expect(file720p.resolutionLabel).to.equal('720p') 217 expect(file720p.resolutionLabel).to.equal('720p')
218 expect(file720p.size).to.equal(314913) 218 expect(file720p.size).to.equal(314913)