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