mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-08 10:41:25 +02:00
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.
16 lines
311 B
PHP
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();
|
|
}
|
|
}
|