Skip to content

Commit

Permalink
Add variable
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Oct 27, 2024
1 parent ff27d4b commit 3c2fbe8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Unit/HeicTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ final class HeicTest extends BaseTestCase
public function testEncoding(): void
{
$manager = ImageManager::imagick();
$img = $manager->read($manager->create(100, 100)->encode(new MediaTypeEncoder('image/heic'))->toFilePointer());
$p = $manager->create(100, 100)->encode(new MediaTypeEncoder('image/heic'))->toFilePointer();
$img = $manager->read($p);
$this->assertInstanceOf(Image::class, $img);
}
}

0 comments on commit 3c2fbe8

Please sign in to comment.