Skip to content

Commit

Permalink
Skip tests if openssl is not enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 12, 2012
1 parent d95ef5d commit 593cfc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Test/Case/Network/CakeSocketTest.php
Expand Up @@ -332,6 +332,7 @@ public function testEnableCryptoEnableStatus() {
* @return void
*/
public function testGetContext() {
$this->skipIf(!extension_loaded('openssl'), 'OpenSSL is not enabled cannot test SSL.');
$config = array(
'host' => 'smtp.gmail.com',
'port' => 465,
Expand Down

0 comments on commit 593cfc0

Please sign in to comment.