1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-31 17:41:58 +02:00

fix php 5.4

This commit is contained in:
Frederik Bosch
2017-01-18 21:15:33 +01:00
parent 9729f0ef21
commit b27bbe5771

View File

@@ -1,6 +1,5 @@
<?php <?php
use Intervention\Image\Image;
use Intervention\Image\ImageManager; use Intervention\Image\ImageManager;
class ImageManagerTest extends PHPUnit_Framework_TestCase class ImageManagerTest extends PHPUnit_Framework_TestCase
@@ -34,7 +33,7 @@ class ImageManagerTest extends PHPUnit_Framework_TestCase
$manager = new ImageManager($config); $manager = new ImageManager($config);
$image = $manager->make('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7'); $image = $manager->make('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');
$this->assertInstanceOf(Image::class, $image); $this->assertInstanceOf('Intervention\Image\Image', $image);
$this->assertInstanceOf(Imagick::class, $image->getCore()); $this->assertInstanceOf('Imagick', $image->getCore());
} }
} }