Fix operator for Visual Studio
[m6w6/ext-http] / tests / client015.phpt
index a5c2ef700e1f842e7e41e656c5ee3be8e8501a9f..f378653808824a2eb873857fe5242d8267fb86bc 100644 (file)
@@ -8,7 +8,7 @@ skip_client_test();
 --FILE--
 <?php
 
-include "server.inc";
+include "helper/server.inc";
 
 echo "Test\n";
 
@@ -16,8 +16,8 @@ server("proxy.inc", function($port) {
        $client1 = new http\Client;
        $client2 = new http\Client;
        
-       $client1->configure(["use_eventloop" => true]);
-       $client2->configure(["use_eventloop" => true]);
+       $client1->configure(array("use_eventloop" => true));
+       $client2->configure(array("use_eventloop" => true));
        
        $client1->enqueue(new http\Client\Request("GET", "http://localhost:$port/"));
        $client2->enqueue(new http\Client\Request("GET", "http://localhost:$port/"));