1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-26 07:14:31 +02:00

Add test assertions to validate the correct mime type

This commit is contained in:
Oliver Vogel
2024-10-27 11:15:54 +01:00
parent f712d684db
commit b496d1f6b9
15 changed files with 23 additions and 0 deletions

View File

@@ -20,5 +20,6 @@ final class AvifEncoderTest extends ImagickTestCase
$encoder = new AvifEncoder(10);
$result = $encoder->encode($image);
$this->assertMediaType('image/avif', $result);
$this->assertEquals('image/avif', $result->mimetype());
}
}