From: Joshua Westerheide Date: Sat, 29 Jun 2019 09:59:08 +0000 (+0200) Subject: Add tests from fix #78183 from PHP-7.2 X-Git-Tag: php-7.4.0alpha3~123^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cdeedb8de469388e378bd2292b89b725905fd18;p=php Add tests from fix #78183 from PHP-7.2 --- diff --git a/ext/fileinfo/tests/finfo_file_002.phpt b/ext/fileinfo/tests/finfo_file_002.phpt index 814a8065bc..a747b8bfcf 100644 --- a/ext/fileinfo/tests/finfo_file_002.phpt +++ b/ext/fileinfo/tests/finfo_file_002.phpt @@ -36,7 +36,9 @@ array(%d) { ["%s/resources/test.png"]=> string(9) "image/png" ["%s/resources/test.ppt"]=> - string(29) "application/vnd.ms-powerpoint" + string(29) "application/vnd.ms-powerpoint", + ["%s/resources/test.tga"]=> + string(11) "image/x-tga" ["%s/resources/test.webm"]=> string(10) "video/webm" } diff --git a/ext/fileinfo/tests/resources/test.tga b/ext/fileinfo/tests/resources/test.tga new file mode 100644 index 0000000000..e454f69ccc Binary files /dev/null and b/ext/fileinfo/tests/resources/test.tga differ