fix test
authorMichael Wallner <mike@php.net>
Wed, 9 Sep 2015 15:49:49 +0000 (17:49 +0200)
committerMichael Wallner <mike@php.net>
Wed, 9 Sep 2015 15:49:49 +0000 (17:49 +0200)
tests/client003.phpt

index bca3302..63e0ef3 100644 (file)
@@ -14,7 +14,7 @@ include "helper/server.inc";
 echo "Test\n";
 
 server("proxy.inc", function($port) {
-       $request = new http\Client\Request("GET", "http://www.example.org/");
+       $request = new http\Client\Request("GET", "http://localhost:$port/");
        
        foreach (http\Client::getAvailableDrivers() as $driver) {
                $client = new http\Client($driver);