From: Michael Wallner Date: Fri, 24 Sep 2021 14:07:47 +0000 (+0200) Subject: add json_post test X-Git-Tag: v1.0.3~4 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=45d30642b8c420e2d9ebdb60b66282c56d59a9cf;p=m6w6%2Fext-apfd add json_post test --- diff --git a/tests/json_post001.phpt b/tests/json_post001.phpt new file mode 100644 index 0000000..6342bf4 --- /dev/null +++ b/tests/json_post001.phpt @@ -0,0 +1,25 @@ +--TEST-- +apfd - json_post PUT +--EXTENSIONS-- +apfd +json_post +--PUT-- +Content-type: application/json + +{"test": "json_post"} +--FILE-- +TEST + $_POST]); +?> +DONE +--EXPECT-- +TEST +array(1) { + ["PUT"]=> + array(1) { + ["test"]=> + string(9) "json_post" + } +} +DONE