xref: /dokuwiki/_test/tests/inc/httpclient_https.test.php (revision 3fc4f82997eb93a407074db4473cade1a76b6971)
1<?php
2require_once dirname(__FILE__).'/httpclient_http.test.php';
3
4class httpclient_https_test extends httpclient_http_test {
5    protected $server = 'https://httpbin.org/';
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}
16//Setup VIM: ex: et ts=4 :
17