summaryrefslogtreecommitdiff
path: root/_test/tests/inc/httpclient_https.test.php
blob: 26a0f86db40b0c16b21bc9e2ea4f80446baef1cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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 :