X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=tests%2Ferror006.phpt;fp=tests%2Ferror006.phpt;h=aef634ab828c4e8b0769fec2a0bdf70fd7b6d5e3;hp=0000000000000000000000000000000000000000;hb=129e8b459061f9f4c76e3ee8a6baaef68c0bba41;hpb=ec734303777fdc01e36eff4fa7bac48edbc83cd3 diff --git a/tests/error006.phpt b/tests/error006.phpt new file mode 100644 index 0000000..aef634a --- /dev/null +++ b/tests/error006.phpt @@ -0,0 +1,15 @@ +--TEST-- +json_post with malformed JSON [json_throw] (https://github.com/m6w6/ext-json_post/issues/3) +--EXTENSIONS-- +json_post +--INI-- +json_post.flags = 4194305 +--POST_RAW-- +Content-Type: application/json + +{"a +--FILE_EXTERNAL-- +error.inc +--EXPECTHEADERS-- +--EXPECT-- +DONE