xref: /dokuwiki/_test/tests/inc/httpclient_https.test.php (revision d785a180a0a5f99f363c10269a59f0ac012c3ee6)
1<?php
2require_once dirname(__FILE__).'/httpclient_http.test.php';
3
4class httpclient_https_test extends httpclient_http_test {
5    protected $server = 'https://eu.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