fix test
authorMichael Wallner <mike@php.net>
Fri, 24 Sep 2021 16:03:31 +0000 (18:03 +0200)
committerMichael Wallner <mike@php.net>
Fri, 24 Sep 2021 16:03:31 +0000 (18:03 +0200)
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