Permalink
Browse files

Skip more tests when openssl is not enabled.

5.2 environments on travis-ci don't have openssl enabled.
  • Loading branch information...
1 parent 593cfc0 commit 12e2e1363d529ac8e70caf4334ba2735091c8cfb @markstory markstory committed Nov 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Test/Case/Network/Http/HttpSocketTest.php
@@ -1707,6 +1707,7 @@ public function testConfigContext() {
* @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');

0 comments on commit 12e2e13

Please sign in to comment.