mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Removed WebP format from getFileInfo() test. (not compatible with PHP 7.0 or lower)
This commit is contained in:
@@ -263,9 +263,9 @@ class e_fileTest extends \Codeception\Test\Unit
|
|||||||
'expected' => ['mime'=>'image/svg+xml']
|
'expected' => ['mime'=>'image/svg+xml']
|
||||||
),
|
),
|
||||||
1 => array(
|
1 => array(
|
||||||
'input' => "e107_plugins/gallery/images/beach.webp",
|
'input' => "e107_plugins/gallery/images/horse.jpg",
|
||||||
'imgchk' => true,
|
'imgchk' => true,
|
||||||
'expected' => ['mime'=>'image/webp', 'img-width'=>1920, 'img-height'=>1440]
|
'expected' => ['mime'=>'image/jpeg', 'img-width'=>1500, 'img-height'=>1000]
|
||||||
),
|
),
|
||||||
2 => array(
|
2 => array(
|
||||||
'input' => "e107_tests/tests/_data/fileTest/corrupted_image.webp",
|
'input' => "e107_tests/tests/_data/fileTest/corrupted_image.webp",
|
||||||
|
Reference in New Issue
Block a user