Skip to content

Commit

Permalink
We no longer support HHVM.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 18, 2017
1 parent fcb0b36 commit 001504a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions tests/TestCase/Network/SocketTest.php
Expand Up @@ -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();
Expand All @@ -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');
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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,
Expand Down

0 comments on commit 001504a

Please sign in to comment.