mirror of
https://github.com/Intervention/image.git
synced 2025-08-31 01:29:51 +02:00
fix php 5.4
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user