xref: /dokuwiki/_test/tests/inc/httpclient_https_proxy.test.php (revision 1ea7a6bada66fc9b7a45f61b4892e4ea23196d89)
1*1ea7a6baSAndreas Gohr<?php
2*1ea7a6baSAndreas Gohrrequire_once dirname(__FILE__).'/httpclient_http_proxy.test.php';
3*1ea7a6baSAndreas Gohr
4*1ea7a6baSAndreas Gohrclass httpclient_https_proxy_test extends httpclient_http_proxy_test {
5*1ea7a6baSAndreas Gohr    protected $url = 'https://www.dokuwiki.org/README';
6*1ea7a6baSAndreas Gohr
7*1ea7a6baSAndreas Gohr    public function setUp(){
8*1ea7a6baSAndreas Gohr        // skip tests when this PHP has no SSL support
9*1ea7a6baSAndreas Gohr        $transports = stream_get_transports();
10*1ea7a6baSAndreas Gohr        if(!in_array('ssl',$transports)){
11*1ea7a6baSAndreas Gohr            $this->markTestSkipped('No SSL support available.');
12*1ea7a6baSAndreas Gohr        }
13*1ea7a6baSAndreas Gohr        parent::setUp();
14*1ea7a6baSAndreas Gohr    }
15*1ea7a6baSAndreas Gohr}