summaryrefslogtreecommitdiff
path: root/_test/tests/inc/httpclient_http_proxy.test.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-11-08 23:24:57 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-11-08 23:24:57 +0100
commita20ce704cbd26eccbca8bf01dadac23a1432e1a5 (patch)
treeb29bcdb8edca7a5e85e770072afc24294a1f6762 /_test/tests/inc/httpclient_http_proxy.test.php
parent04924b7a9d090c0814cfff3e6706263e4d5a46e8 (diff)
downloadrpg-a20ce704cbd26eccbca8bf01dadac23a1432e1a5.tar.gz
rpg-a20ce704cbd26eccbca8bf01dadac23a1432e1a5.tar.bz2
changed proxy in test case
Diffstat (limited to '_test/tests/inc/httpclient_http_proxy.test.php')
-rw-r--r--_test/tests/inc/httpclient_http_proxy.test.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/_test/tests/inc/httpclient_http_proxy.test.php b/_test/tests/inc/httpclient_http_proxy.test.php
index 81abdbca0..faa7a4280 100644
--- a/_test/tests/inc/httpclient_http_proxy.test.php
+++ b/_test/tests/inc/httpclient_http_proxy.test.php
@@ -8,8 +8,9 @@ class httpclient_http_proxy_test extends DokuWikiTest {
*/
function test_simpleget(){
$http = new HTTPClient();
- $http->proxy_host = 'localhost'; //FIXME we need a public server
- $http->proxy_port = 3128;
+ // proxy provided by Andrwe Lord Weber <dokuwiki@andrwe.org>
+ $http->proxy_host = 'proxy.andrwe.org';
+ $http->proxy_port = 8080;
$data = $http->get($this->url);
$this->assertFalse($data === false, 'HTTP response');