1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-01 11:30:16 +02:00

fixed test

This commit is contained in:
Oliver Vogel
2014-05-13 16:25:32 +02:00
parent 06f48792fc
commit 5bd57e1faf

View File

@@ -56,6 +56,8 @@ class MaskCommandTest extends PHPUnit_Framework_TestCase
$imagick->shouldReceive('compositeimage')->with($mask_core, \Imagick::COMPOSITE_DSTIN, 0, 0)->once();
$image = Mockery::mock('Intervention\Image\Image');
$image->shouldReceive('getCore')->once()->andReturn($imagick);
$image_size = Mockery::mock('Intervention\Image\Size', array(32, 32));
$image->shouldReceive('getSize')->once()->andReturn($image_size);
$image->shouldReceive('getDriver')->once()->andReturn($driver);
$command = new MaskImagick(array($mask_path, true));