X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ferror004.phpt;h=e450593328fba0011ac2c1770fc984a2550d50cf;hb=c1b0270e93fc2706027296233553933d03d3fd1e;hp=42cfa3408e24f21960e161de5ce182bf8b1d508e;hpb=98b35c8f1a7c1c1bc818ee163048a76c81dd7141;p=m6w6%2Fext-json_post diff --git a/tests/error004.phpt b/tests/error004.phpt index 42cfa34..e450593 100644 --- a/tests/error004.phpt +++ b/tests/error004.phpt @@ -1,22 +1,12 @@ --TEST-- -json_post with malformed JSON (https://github.com/m6w6/ext-json_post/issues/3) ---SKIPIF-- - +json_post with malformed JSON [exit] (https://github.com/m6w6/ext-json_post/issues/3) --INI-- -json_post.error_exit = true +json_post.onerror.exit = true --POST_RAW-- Content-Type: application/json -{ - "greeting": "Hello World -} ---FILE-- - -Done +{"a +--FILE_EXTERNAL-- +error.inc --EXPECTHEADERS-- --EXPECT--