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