projects
/
m6w6
/
ext-json_post
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
PHP compat 5-8
[m6w6/ext-json_post]
/
tests
/
error003.phpt
diff --git
a/tests/error003.phpt
b/tests/error003.phpt
index 93bcc9ba6bc05653a7b56ca58cbeb31e71deb180..dd7a3e5b676df1002123d422c3c030d5215c5522 100644
(file)
--- a/
tests/error003.phpt
+++ b/
tests/error003.phpt
@@
-1,7
+1,5
@@
--TEST--
json_post with malformed JSON [warning] (https://github.com/m6w6/ext-json_post/issues/3)
--TEST--
json_post with malformed JSON [warning] (https://github.com/m6w6/ext-json_post/issues/3)
---EXTENSIONS--
-json_post
--INI--
json_post.onerror.warning = on
--POST_RAW--
--INI--
json_post.onerror.warning = on
--POST_RAW--
@@
-12,5
+10,5
@@
Content-Type: application/json
error.inc
--EXPECTHEADERS--
--EXPECTF--
error.inc
--EXPECTHEADERS--
--EXPECTF--
-Warning: json_post: json_decode failed with error code:
3
in %s on line %s
+Warning: json_post: json_decode failed with error code:
%d
in %s on line %s
DONE
DONE