mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Skip more tests when openssl is not enabled.
5.2 environments on travis-ci don't have openssl enabled.
This commit is contained in:
parent
593cfc05d5
commit
12e2e1363d
1 changed files with 1 additions and 0 deletions
|
@ -1707,6 +1707,7 @@ class HttpSocketTest extends CakeTestCase {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function testVerifyPeer() {
|
public function testVerifyPeer() {
|
||||||
|
$this->skipIf(!extension_loaded('openssl'), 'OpenSSL is not enabled cannot test SSL.');
|
||||||
$socket = new HttpSocket();
|
$socket = new HttpSocket();
|
||||||
try {
|
try {
|
||||||
$result = $socket->get('https://typography.com');
|
$result = $socket->get('https://typography.com');
|
||||||
|
|
Loading…
Add table
Reference in a new issue