mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56: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
|
||||
*/
|
||||
public function testVerifyPeer() {
|
||||
$this->skipIf(!extension_loaded('openssl'), 'OpenSSL is not enabled cannot test SSL.');
|
||||
$socket = new HttpSocket();
|
||||
try {
|
||||
$result = $socket->get('https://typography.com');
|
||||
|
|
Loading…
Add table
Reference in a new issue