mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
589fee1a8a
Taken care of by the default PHPUnit implementation of markTestSkipped()
14 lines
299 B
PHP
14 lines
299 B
PHP
<?php
|
|
class ImagickImageTest extends ImageTest {
|
|
public function setUp() {
|
|
parent::setUp();
|
|
|
|
if(!extension_loaded("imagick")) {
|
|
$this->markTestSkipped("The Imagick extension is not available.");
|
|
return;
|
|
}
|
|
|
|
Config::inst()->update('Injector', 'Image_Backend', 'ImagickBackend');
|
|
}
|
|
}
|