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