diff options
author | J0WI <J0WI@users.noreply.github.com> | 2022-12-03 20:29:55 +0100 |
---|---|---|
committer | J0WI <J0WI@users.noreply.github.com> | 2022-12-04 14:51:33 +0100 |
commit | a4d0700bf237294fe4c6fbfbb6c5c4bd65f0d3a0 (patch) | |
tree | 5e95f440540cf565d7c1e4e6576c6e2e00e4160c /tests | |
parent | f71b95eaee0eb93b5d77505a7021b2e2cce32e88 (diff) | |
download | nextcloud-server-a4d0700bf237294fe4c6fbfbb6c5c4bd65f0d3a0.tar.gz nextcloud-server-a4d0700bf237294fe4c6fbfbb6c5c4bd65f0d3a0.zip |
Fix test image default quality
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/ImageTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/ImageTest.php b/tests/lib/ImageTest.php index ace3f1abcec..2a753b01550 100644 --- a/tests/lib/ImageTest.php +++ b/tests/lib/ImageTest.php @@ -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()); |