diff options
Diffstat (limited to 'server/tests/api/multiple-pods.ts')
-rw-r--r-- | server/tests/api/multiple-pods.ts | 8 |
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) |