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