From: Michael Wallner Date: Wed, 13 May 2020 12:27:09 +0000 (+0200) Subject: add test X-Git-Tag: v1.0.2~1 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=commitdiff_plain;h=d17718b78d2b199b65286d9584f4dbff8100f530;ds=sidebyside add test --- diff --git a/tests/005.phpt b/tests/005.phpt new file mode 100644 index 0000000..4fc5664 --- /dev/null +++ b/tests/005.phpt @@ -0,0 +1,21 @@ +--TEST-- +json_post with empty object +--SKIPIF-- + +--POST_RAW-- +Content-type: text/json + +{ +} +--FILE-- + +Done +--EXPECTF-- +array(0) { +} +int(0) +Done