summaryrefslogtreecommitdiff
path: root/_test/tests/inc/httpclient_http_proxy.test.php
diff options
context:
space:
mode:
authorchang-zhao <chang-zhao@users.noreply.github.com>2015-03-21 15:43:06 +0300
committerchang-zhao <chang-zhao@users.noreply.github.com>2015-03-21 15:43:06 +0300
commit04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15 (patch)
treef2a0e5062f11e393a0621324e971626f1b5d8c7d /_test/tests/inc/httpclient_http_proxy.test.php
parentba5dadc95a458f1ce06b6c61978acf9330c9f3d5 (diff)
parent8a6a4be3f464afb3d69b51b74d95e8fbf21ea2df (diff)
downloadrpg-04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15.tar.gz
rpg-04b2c4dcc9d6084cfaa455fb4db8e87ba70f4d15.tar.bz2
Merge pull request #1 from splitbrain/master
Test
Diffstat (limited to '_test/tests/inc/httpclient_http_proxy.test.php')
-rw-r--r--_test/tests/inc/httpclient_http_proxy.test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/tests/inc/httpclient_http_proxy.test.php b/_test/tests/inc/httpclient_http_proxy.test.php
index c44dc7ed7..dae801dbd 100644
--- a/_test/tests/inc/httpclient_http_proxy.test.php
+++ b/_test/tests/inc/httpclient_http_proxy.test.php
@@ -3,7 +3,7 @@
require_once (__DIR__ . '/httpclient_mock.php');
class httpclient_http_proxy_test extends DokuWikiTest {
- protected $url = 'http://test.dokuwiki.org/README';
+ protected $url = 'http://httpbin.org/user-agent';
/**
* @group internet
@@ -15,7 +15,7 @@ class httpclient_http_proxy_test extends DokuWikiTest {
$http->proxy_port = 8080;
$data = $http->get($this->url);
- $this->assertFalse($data === false, 'HTTP response '.$http->error);
+ $this->assertFalse($data === false, 'HTTP response: '.$http->error.' ['.$this->url.']');
$this->assertTrue(strpos($data,'DokuWiki') !== false, 'response content');
}
} \ No newline at end of file