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 bca33024f93019ac1c2f2a495a88530c7ad20b5e..63e0ef332f5c246cae21280849551a97c829cb11 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);