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