X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2F3LocalhostTest.php;h=439b635480456b1c685d34155cb97739a18a6514;hb=98d4ea619cef778d0cbcc706ea9a157178f90da5;hp=9cbd1fdc0303ad0bab3057b9a59bcc09a037c99f;hpb=01960bf506d12eab1baa4480be313f91d06ab48b;p=plcapi.git diff --git a/tests/3LocalhostTest.php b/tests/3LocalhostTest.php index 9cbd1fd..439b635 100644 --- a/tests/3LocalhostTest.php +++ b/tests/3LocalhostTest.php @@ -87,18 +87,18 @@ class LocalhostTest extends PhpXmlRpc_PolyfillTestCase { $this->args = argParser::getArgs(); - $server = explode(':', $this->args['LOCALSERVER']); + $server = explode(':', $this->args['HTTPSERVER']); if (count($server) > 1) { - $this->client = new xmlrpc_client($this->args['URI'], $server[0], $server[1]); + $this->client = new xmlrpc_client($this->args['HTTPURI'], $server[0], $server[1]); } else { - $this->client = new xmlrpc_client($this->args['URI'], $this->args['LOCALSERVER']); + $this->client = new xmlrpc_client($this->args['HTTPURI'], $this->args['HTTPSERVER']); } $this->client->setDebug($this->args['DEBUG']); $this->client->request_compression = $this->request_compression; $this->client->accepted_compression = $this->accepted_compression; - $this->coverageScriptUrl = 'http://' . $this->args['LOCALSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['URI'] ); + $this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['HTTPURI'] ); if ($this->args['DEBUG'] == 1) ob_start();