diff --git a/tests/TestCase/Network/SocketTest.php b/tests/TestCase/Network/SocketTest.php index 3eead81e52d..84d3751bedf 100644 --- a/tests/TestCase/Network/SocketTest.php +++ b/tests/TestCase/Network/SocketTest.php @@ -347,7 +347,6 @@ public function testEnableCryptoBadMode() */ public function testEnableCrypto() { - $this->skipIf(!function_exists('stream_socket_enable_crypto'), 'Broken on HHVM'); $this->_connectSocketToSslTls(); $this->assertTrue($this->Socket->enableCrypto('tls', 'client')); $this->Socket->disconnect(); @@ -361,7 +360,6 @@ public function testEnableCrypto() */ public function testEnableCryptoExceptionEnableTwice() { - $this->skipIf(!function_exists('stream_socket_enable_crypto'), 'Broken on HHVM'); // testing on tls server $this->_connectSocketToSslTls(); $this->Socket->enableCrypto('tls', 'client'); @@ -376,7 +374,6 @@ public function testEnableCryptoExceptionEnableTwice() */ public function testEnableCryptoExceptionDisableTwice() { - $this->skipIf(!function_exists('stream_socket_enable_crypto'), 'Broken on HHVM'); // testing on tls server $this->_connectSocketToSslTls(); $this->Socket->enableCrypto('tls', 'client', false); @@ -389,7 +386,6 @@ public function testEnableCryptoExceptionDisableTwice() */ public function testEnableCryptoEnableStatus() { - $this->skipIf(!function_exists('stream_socket_enable_crypto'), 'Broken on HHVM'); // testing on tls server $this->_connectSocketToSslTls(); $this->assertFalse($this->Socket->encrypted); @@ -404,10 +400,7 @@ public function testEnableCryptoEnableStatus() */ public function testGetContext() { - $this->skipIf( - !extension_loaded('openssl') || defined('HHVM_VERSION'), - 'OpenSSL is not enabled cannot test SSL.' - ); + $this->skipIf(!extension_loaded('openssl'), 'OpenSSL is not enabled cannot test SSL.'); $config = [ 'host' => 'smtp.gmail.com', 'port' => 465,