diff --git a/tests/Output/QRGdImageAVIFTest.php b/tests/Output/QRGdImageAVIFTest.php index f84149c56..9e2d0eb0c 100644 --- a/tests/Output/QRGdImageAVIFTest.php +++ b/tests/Output/QRGdImageAVIFTest.php @@ -15,9 +15,19 @@ use chillerlan\QRCode\QROptions; use chillerlan\QRCode\Data\QRMatrix; use chillerlan\QRCode\Output\{QRGdImageAVIF, QROutputInterface}; use chillerlan\Settings\SettingsContainerInterface; +use function function_exists; final class QRGdImageAVIFTest extends QRGdImageTestAbstract{ + protected function setUp():void{ + parent::setUp(); + + if(!function_exists('imageavif')){ + $this::markTestSkipped('no AVIF support'); + } + + } + protected function getOutputInterface( SettingsContainerInterface|QROptions $options, QRMatrix $matrix,