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