From 6cdeedb8de469388e378bd2292b89b725905fd18 Mon Sep 17 00:00:00 2001 From: Joshua Westerheide Date: Sat, 29 Jun 2019 11:59:08 +0200 Subject: [PATCH] Add tests from fix #78183 from PHP-7.2 --- ext/fileinfo/tests/finfo_file_002.phpt | 4 +++- ext/fileinfo/tests/resources/test.tga | Bin 0 -> 19 bytes 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 ext/fileinfo/tests/resources/test.tga 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 0000000000000000000000000000000000000000..e454f69cccd2aa3c30ac40d1558cf7488fc49dda GIT binary patch literal 19 TcmZQzU}k^;Mg~R(4u&%T0X6{I literal 0 HcmV?d00001 -- 2.40.0