1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 09:10:21 +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
use Intervention\Image\Image;
use Intervention\Image\ImageManager;
class ImageManagerTest extends PHPUnit_Framework_TestCase
@@ -34,7 +33,7 @@ class ImageManagerTest extends PHPUnit_Framework_TestCase
$manager = new ImageManager($config);
$image = $manager->make('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');
$this->assertInstanceOf(Image::class, $image);
$this->assertInstanceOf(Imagick::class, $image->getCore());
$this->assertInstanceOf('Intervention\Image\Image', $image);
$this->assertInstanceOf('Imagick', $image->getCore());
}
}