1
0
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:
Cameron 2020-12-10 10:21:49 -08:00
parent 8a0f098ab6
commit 66eb970652

View File

@ -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",