silverstripe-framework/tests/model/ImagickImageTest.php
2016-03-09 10:20:31 +13:00

14 lines
297 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');
}
}