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