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