summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-03-18 21:55:59 +0100
committerAndreas Gohr <andi@splitbrain.org>2015-03-18 21:55:59 +0100
commit6abea1c0be56a2cb5575c8921c3e6661ed565697 (patch)
treefae7da330a05c8ecaca75ec9bd8dc1107db88102 /_test
parentd387bf5e958e9d25a7192d1f5e5280ac0eb82da7 (diff)
downloadrpg-6abea1c0be56a2cb5575c8921c3e6661ed565697.tar.gz
rpg-6abea1c0be56a2cb5575c8921c3e6661ed565697.tar.bz2
fixed HTTPS proxy tests, our tests now run on httpbin.org
This also reverses the order of crypto protocols tried again. Using TLS first again. related to #915
Diffstat (limited to '_test')
-rw-r--r--_test/tests/inc/httpclient_http_proxy.test.php2
-rw-r--r--_test/tests/inc/httpclient_https_proxy.test.php2
2 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 79b8f8e5e..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
diff --git a/_test/tests/inc/httpclient_https_proxy.test.php b/_test/tests/inc/httpclient_https_proxy.test.php
index 7a54bb92e..cf5b9a8b9 100644
--- a/_test/tests/inc/httpclient_https_proxy.test.php
+++ b/_test/tests/inc/httpclient_https_proxy.test.php
@@ -2,7 +2,7 @@
require_once dirname(__FILE__).'/httpclient_http_proxy.test.php';
class httpclient_https_proxy_test extends httpclient_http_proxy_test {
- protected $url = 'https://test.dokuwiki.org/README';
+ protected $url = 'https://httpbin.org/user-agent';
public function setUp(){
// skip tests when this PHP has no SSL support