xref: /dokuwiki/_test/tests/inc/httpclient_https.test.php (revision e260f93b6cea05bc39bbd77b9db5bdc0c2c424bf)
1<?php
2
3class httpclient_https_test extends httpclient_http_test {
4    protected $server = 'https://httpbin.org/';
5
6    public function setUp(){
7        // skip tests when this PHP has no SSL support
8        $transports = stream_get_transports();
9        if(!in_array('ssl',$transports)){
10            $this->markTestSkipped('No SSL support available.');
11        }
12        parent::setUp();
13    }
14}
15//Setup VIM: ex: et ts=4 :
16