ImageImagickTest.php 488 Bytes
Newer Older
Antonio Ramirez committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?php

namespace yiiunit\extensions\imagine;

use yii\imagine\Image;

/**
 * @group vendor
 * @group imagine
 */
class ImageImagickTest extends AbstractImageTest
{

	protected function setUp()
	{
		if (!class_exists('Imagick')) {
			$this->markTestSkipped('Skipping ImageImagickTest, Imagick is not installed');
		} else {
19 20
			Image::setImagine(null);
			Image::$driver = Image::DRIVER_IMAGICK;
Antonio Ramirez committed
21 22 23 24 25 26 27 28 29
			parent::setUp();
		}
	}

	protected function isFontTestSupported()
	{
		return true;
	}

30
}