Skip to content

Commit

Permalink
Adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Oct 27, 2024
1 parent 0fb2422 commit 55f463f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/HeicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
}
}

0 comments on commit 55f463f

Please sign in to comment.