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