Skip to content
Snippets Groups Projects
Commit f56d5034 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

run HTTP tests against EU server

this hopefully helps with recent problems of spradically failing tests.
parent d1c44d00
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
require_once (__DIR__ . '/httpclient_mock.php');
class httpclient_http_test extends DokuWikiTest {
protected $server = 'http://httpbin.org';
protected $server = 'http://eu.httpbin.org';
/**
......
......@@ -3,7 +3,7 @@
require_once (__DIR__ . '/httpclient_mock.php');
class httpclient_http_proxy_test extends DokuWikiTest {
protected $url = 'http://httpbin.org/user-agent';
protected $url = 'http://eu.httpbin.org/user-agent';
/**
* @group internet
......@@ -18,4 +18,4 @@ class httpclient_http_proxy_test extends DokuWikiTest {
$this->assertFalse($data === false, 'HTTP response: '.$http->error.' ['.$this->url.']');
$this->assertTrue(strpos($data,'DokuWiki') !== false, 'response content');
}
}
\ No newline at end of file
}
......@@ -2,7 +2,7 @@
require_once dirname(__FILE__).'/httpclient_http.test.php';
class httpclient_https_test extends httpclient_http_test {
protected $server = 'https://httpbin.org/';
protected $server = 'https://eu.httpbin.org/';
public function setUp(){
// skip tests when this PHP has no SSL support
......
......@@ -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://httpbin.org/user-agent';
protected $url = 'https://eu.httpbin.org/user-agent';
public function setUp(){
// skip tests when this PHP has no SSL support
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment