mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-24 20:57:55 +00:00
:octocat: skip imagick tests if ext-imagick is not loaded
This commit is contained in:
@@ -18,6 +18,12 @@ class QRImagickTest extends QROutputTestAbstract{
|
||||
|
||||
protected $FQCN = QRImagick::class;
|
||||
|
||||
public function setUp():void{
|
||||
if(!extension_loaded('imagick')){
|
||||
$this->markTestSkipped('ext-imagick not loaded');
|
||||
}
|
||||
}
|
||||
|
||||
public function testImageOutput(){
|
||||
$type = QRCode::OUTPUT_IMAGICK;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user