skip redirect tests while httpbin is broken #3187

Until https://github.com/postmanlabs/httpbin/issues/617 is fixed or we
found an alternative, the redirect tests will be skipped.
This commit is contained in:
Andreas Gohr 2020-07-01 09:49:47 +02:00
parent 64604f4ea8
commit 5a56359cf3
1 changed files with 9 additions and 0 deletions

View File

@ -78,6 +78,9 @@ class httpclient_http_test extends DokuWikiTest {
* @group internet
*/
function test_redirect(){
$this->markTestSkipped('disabled while redirect bug in httpbin is being fixed');
return;
$http = new HTTPMockClient();
$data = $http->get($this->server.'/redirect/3');
if($http->noconnection()) {
@ -95,6 +98,9 @@ class httpclient_http_test extends DokuWikiTest {
* @group internet
*/
function test_relredirect(){
$this->markTestSkipped('disabled while redirect bug in httpbin is being fixed');
return;
$http = new HTTPMockClient();
$data = $http->get($this->server.'/relative-redirect/3');
if($http->noconnection()) {
@ -112,6 +118,9 @@ class httpclient_http_test extends DokuWikiTest {
* @group internet
*/
function test_redirectfail(){
$this->markTestSkipped('disabled while redirect bug in httpbin is being fixed');
return;
$http = new HTTPMockClient();
$data = $http->get($this->server.'/redirect/5');
if($http->noconnection()) {