silverstripe-framework/tests/model/ImagickImageTest.php
Ingo Schommer 589fee1a8a Removed obsolete TestRunner->$skipTests flag
Taken care of by the default PHPUnit implementation of markTestSkipped()
2016-02-23 22:29:58 +13:00

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