Skip more tests when openssl is not enabled.

5.2 environments on travis-ci don't have openssl enabled.
This commit is contained in:
mark_story 2012-11-11 22:53:13 -05:00
parent 593cfc05d5
commit 12e2e1363d

View file

@ -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');