fix test
[m6w6/ext-apfd] / tests / json_post001.phpt
index 6342bf4cd4e6369808313773e3b2244c90249262..37b41a8ee465ad699a6ba08b75cd184f18d4fedf 100644 (file)
@@ -1,8 +1,10 @@
 --TEST--
 apfd - json_post PUT
---EXTENSIONS--
-apfd
-json_post
+--SKIPIF--
+<?php
+if (!extension_loaded("apfd") || !extension_loaded("json_post"))
+       die("skip need apfd and json_post support\n");
+?>
 --PUT--
 Content-type: application/json