diff options
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/multiple-pods.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/multiple-pods.ts b/server/tests/api/multiple-pods.ts index 8b60ac0f4..6c11aace5 100644 --- a/server/tests/api/multiple-pods.ts +++ b/server/tests/api/multiple-pods.ts | |||
@@ -195,17 +195,17 @@ describe('Test multiple pods', function () { | |||
195 | const file240p = video.files.find(f => f.resolution === 240) | 195 | const file240p = video.files.find(f => f.resolution === 240) |
196 | expect(file240p).not.to.be.undefined | 196 | expect(file240p).not.to.be.undefined |
197 | expect(file240p.resolutionLabel).to.equal('240p') | 197 | expect(file240p.resolutionLabel).to.equal('240p') |
198 | expect(file240p.size).to.be.above(130000).and.below(150000) | 198 | expect(file240p.size).to.be.above(180000).and.below(200000) |
199 | 199 | ||
200 | const file360p = video.files.find(f => f.resolution === 360) | 200 | const file360p = video.files.find(f => f.resolution === 360) |
201 | expect(file360p).not.to.be.undefined | 201 | expect(file360p).not.to.be.undefined |
202 | expect(file360p.resolutionLabel).to.equal('360p') | 202 | expect(file360p.resolutionLabel).to.equal('360p') |
203 | expect(file360p.size).to.be.above(160000).and.below(180000) | 203 | expect(file360p.size).to.be.above(270000).and.below(290000) |
204 | 204 | ||
205 | const file480p = video.files.find(f => f.resolution === 480) | 205 | const file480p = video.files.find(f => f.resolution === 480) |
206 | expect(file480p).not.to.be.undefined | 206 | expect(file480p).not.to.be.undefined |
207 | expect(file480p.resolutionLabel).to.equal('480p') | 207 | expect(file480p.resolutionLabel).to.equal('480p') |
208 | expect(file480p.size).to.be.above(200000).and.below(220000) | 208 | expect(file480p.size).to.be.above(380000).and.below(400000) |
209 | 209 | ||
210 | const file720p = video.files.find(f => f.resolution === 720) | 210 | const file720p = video.files.find(f => f.resolution === 720) |
211 | expect(file720p).not.to.be.undefined | 211 | expect(file720p).not.to.be.undefined |