mirror of
https://github.com/Intervention/image.git
synced 2025-08-26 23:35:12 +02:00
Handle non-standard but still in use image/x-jpeg mimetype as JPEG (#1372)
* Handle non-standard but still in use image/x-jpeg mimetype as JPEG * Fix test
This commit is contained in:
committed by
GitHub
parent
137bdb356a
commit
4bc03a2304
@@ -43,7 +43,7 @@ final class FormatTest extends BaseTestCase
|
||||
$format = Format::JPEG;
|
||||
$mediaTypes = $format->mediaTypes();
|
||||
$this->assertIsArray($mediaTypes);
|
||||
$this->assertCount(3, $mediaTypes);
|
||||
$this->assertCount(4, $mediaTypes);
|
||||
}
|
||||
|
||||
public function testMediaTypesWebp(): void
|
||||
|
Reference in New Issue
Block a user