[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

   1  <?php
   2  require_once dirname(__FILE__).'/httpclient_http.test.php';
   3  
   4  class httpclient_https_test extends httpclient_http_test {
   5      protected $server = 'https://eu.httpbin.org/';
   6  
   7      public function setUp(){
   8          // skip tests when this PHP has no SSL support
   9          $transports = stream_get_transports();
  10          if(!in_array('ssl',$transports)){
  11              $this->markTestSkipped('No SSL support available.');
  12          }
  13          parent::setUp();
  14      }
  15  }
  16  //Setup VIM: ex: et ts=4 :