mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Fix test image default quality
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
f71b95eaee
commit
a4d0700bf2
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ class ImageTest extends \Test\TestCase {
|
|||
/** @psalm-suppress InvalidScalarArgument */
|
||||
imageinterlace($raw, (PHP_VERSION_ID >= 80000 ? true : 1));
|
||||
ob_start();
|
||||
imagejpeg($raw);
|
||||
imagejpeg($raw, null, 80);
|
||||
$expected = ob_get_clean();
|
||||
$this->assertEquals($expected, $img->data());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue