diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-05-21 13:14:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-01 10:57:13 +0200 |
commit | 4176e227cb18c40e13f30f4634d128cc3169e9d4 (patch) | |
tree | bf31f4abb7352d309a4d19311b78013162699d6f /server/tests/utils/videos | |
parent | e80687c458065500e5f1d72fdedd2906c0d58b1a (diff) | |
download | PeerTube-4176e227cb18c40e13f30f4634d128cc3169e9d4.tar.gz PeerTube-4176e227cb18c40e13f30f4634d128cc3169e9d4.tar.zst PeerTube-4176e227cb18c40e13f30f4634d128cc3169e9d4.zip |
Fixing #626 with ffmpeg's low default audio bitrate
Diffstat (limited to 'server/tests/utils/videos')
-rw-r--r-- | server/tests/utils/videos/videos.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts index 8c49eb02b..a9d449c58 100644 --- a/server/tests/utils/videos/videos.ts +++ b/server/tests/utils/videos/videos.ts | |||
@@ -522,7 +522,9 @@ async function completeVideoCheck ( | |||
522 | 522 | ||
523 | const minSize = attributeFile.size - ((10 * attributeFile.size) / 100) | 523 | const minSize = attributeFile.size - ((10 * attributeFile.size) / 100) |
524 | const maxSize = attributeFile.size + ((10 * attributeFile.size) / 100) | 524 | const maxSize = attributeFile.size + ((10 * attributeFile.size) / 100) |
525 | expect(file.size).to.be.above(minSize).and.below(maxSize) | 525 | expect(file.size, |
526 | 'File size for resolution ' + file.resolution.label + ' outside confidence interval.') | ||
527 | .to.be.above(minSize).and.below(maxSize) | ||
526 | 528 | ||
527 | { | 529 | { |
528 | await testImage(url, attributes.thumbnailfile || attributes.fixture, videoDetails.thumbnailPath) | 530 | await testImage(url, attributes.thumbnailfile || attributes.fixture, videoDetails.thumbnailPath) |