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