[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/_test/tests/inc/ -> httpclient_https_proxy.test.php (source)

   1  <?php
   2  require_once dirname(__FILE__) . '/httpclient_http_proxy.test.php';
   3  
   4  class 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  }