xref: /dokuwiki/_test/tests/inc/httpclient_https_proxy.test.php (revision 54cc7aa41e0f453bd6887b0e79242a139d84a47a)
1<?php
2require_once dirname(__FILE__) . '/httpclient_http_proxy.test.php';
3
4class httpclient_https_proxy_test extends httpclient_http_proxy_test
5{
6    protected $url = 'http://httpbingo.org/user-agent';
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