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