diff --git a/tests/Unit/HeicTest.php b/tests/Unit/HeicTest.php index df4e510c..d99d90be 100644 --- a/tests/Unit/HeicTest.php +++ b/tests/Unit/HeicTest.php @@ -4,7 +4,6 @@ namespace Intervention\Image\Tests\Unit; -use Intervention\Image\EncodedImage; use Intervention\Image\Tests\BaseTestCase; use Intervention\Image\Encoders\MediaTypeEncoder; use Intervention\Image\Image; @@ -16,6 +15,7 @@ public function testEncoding(): void { $manager = ImageManager::imagick(); $p = $manager->create(100, 100)->encode(new MediaTypeEncoder('image/heic')); - $this->assertInstanceOf(EncodedImage::class, $p); + $img = $manager->read($p); + $this->assertInstanceOf(Image::class, $img); } }