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