From 12e2e1363d529ac8e70caf4334ba2735091c8cfb Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 11 Nov 2012 22:53:13 -0500 Subject: [PATCH] Skip more tests when openssl is not enabled. 5.2 environments on travis-ci don't have openssl enabled. --- lib/Cake/Test/Case/Network/Http/HttpSocketTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php b/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php index 8914b833f..c0f2ba33b 100644 --- a/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php +++ b/lib/Cake/Test/Case/Network/Http/HttpSocketTest.php @@ -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');