xref: /dokuwiki/_test/tests/inc/httpclient_https.test.php (revision b055d7074c8f9415798be4f2fce8dfdea30d4f68)
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