mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-08 02:31:35 +02:00
19 lines
354 B
PHP
19 lines
354 B
PHP
<?php
|
|
class ImagickImageTest extends ImageTest {
|
|
public function setUp() {
|
|
$skip = !extension_loaded("imagick");
|
|
if($skip) {
|
|
$this->skipTest = true;
|
|
}
|
|
|
|
parent::setUp();
|
|
|
|
if($skip) {
|
|
$this->markTestSkipped("The Imagick extension is not available.");
|
|
}
|
|
|
|
|
|
Config::inst()->update('Injector', 'Image_Backend', 'ImagickBackend');
|
|
}
|
|
}
|