fix #91: get rid of most of the yearly failing test
[m6w6/ext-http] / tests / client030.phpt
index 582087f93f3fa93aadb0c483ffd3e69a61b0f6bb..8514b4e9e8b3d3ea3f3cb1f528a6f6758a283c3f 100644 (file)
@@ -3,6 +3,7 @@ client eventloop recursion
 --SKIPIF--
 <?php
 include "skipif.inc";
+skip_client_test();
 ?>
 --FILE--
 <?php
@@ -17,9 +18,9 @@ class test implements SplObserver {
 }
 server("proxy.inc", function($port) {
        $client = new http\Client;
-       $client->configure([
+       $client->configure(array(
                        "use_eventloop" => true,
-       ]);
+       ));
        $client->attach(new test);
        $client->enqueue(new http\Client\Request("GET", "http://localhost:$port/"), function($r) {
                var_dump($r->getResponseCode());