Fix test image default quality

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2022-12-03 20:29:55 +01:00
parent f71b95eaee
commit a4d0700bf2

View file

@ -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());