summaryrefslogtreecommitdiff
path: root/ext/fileinfo/tests/finfo_file_002.phpt
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2019-05-30 13:31:48 +0200
committerAnatol Belski <ab@php.net>2019-05-30 13:31:48 +0200
commitaed9a64cf673225c25e5175a0ee700b497d8d4e3 (patch)
tree8304958a720d201ece0761295d6aae41451861d5 /ext/fileinfo/tests/finfo_file_002.phpt
parenta3879208c5b3e39593129a2b438ec39d6a0c20da (diff)
downloadphp-git-aed9a64cf673225c25e5175a0ee700b497d8d4e3.tar.gz
Add test for bug #78075, json detection
Diffstat (limited to 'ext/fileinfo/tests/finfo_file_002.phpt')
-rw-r--r--ext/fileinfo/tests/finfo_file_002.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/fileinfo/tests/finfo_file_002.phpt b/ext/fileinfo/tests/finfo_file_002.phpt
index 683be5b676..fff16b7796 100644
--- a/ext/fileinfo/tests/finfo_file_002.phpt
+++ b/ext/fileinfo/tests/finfo_file_002.phpt
@@ -29,6 +29,8 @@ array(%d) {
string(9) "image/gif"
["%s/resources/test.jpg"]=>
string(10) "image/jpeg"
+ ["%s/test.json"]=>
+ string(16) "application/json"
["%s/resources/test.mp3"]=>
string(10) "audio/mpeg"
["%s/resources/test.pdf"]=>