diff --git a/tests/Unit/Drivers/Imagick/Encoders/PngEncoderTest.php b/tests/Unit/Drivers/Imagick/Encoders/PngEncoderTest.php index b905bd28..d4908fac 100644 --- a/tests/Unit/Drivers/Imagick/Encoders/PngEncoderTest.php +++ b/tests/Unit/Drivers/Imagick/Encoders/PngEncoderTest.php @@ -59,6 +59,12 @@ public static function indexedDataProvider(): array new PngEncoder(indexed: true), 'indexed', ], + + [ + static::createTestImage(3, 2)->fill('ccc'), // new grayscale + new PngEncoder(indexed: true), + 'grayscale', // result should be 'indexed' but there seems to be no way to force this with imagick + ], [ static::readTestImage('circle.png'), // truecolor-alpha new PngEncoder(indexed: false), @@ -67,7 +73,7 @@ public static function indexedDataProvider(): array [ static::readTestImage('circle.png'), // indexedcolor-alpha new PngEncoder(indexed: true), - 'indexed', + 'grayscale-alpha', // result should be 'indexed' but there seems to be no way to force this with imagick ], [ static::readTestImage('tile.png'), // indexed