silverstripe-framework/tests/model/ImagickImageTest.php

16 lines
311 B
PHP
Raw Normal View History

<?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;
}
2014-08-15 08:53:05 +02:00
Image::set_backend("ImagickBackend");
2014-08-15 08:53:05 +02:00
parent::setUp();
}
}