silverstripe-framework/tests/model/ImagickImageTest.php
Jonathon Menz 24a268a12b FIX Image test cleanup
Ensured files referenced by name in tests are actually used, and fixed added support for Flushable interface in image regeneration. Also ensured getters methods are used for width and height.
2015-06-12 16:43:13 -07:00

16 lines
311 B
PHP

<?php
class ImagickImageTest extends ImageTest {
public function setUp() {
if(!extension_loaded("imagick")) {
$this->markTestSkipped("The Imagick extension is not available.");
$this->skipTest = true;
parent::setUp();
return;
}
Image::set_backend("ImagickBackend");
parent::setUp();
}
}