|
|
@@ -253,7 +253,6 @@ class SocketTest extends TestCase {
|
|
|
*/
|
|
|
public function testEnableCryptoSocketExceptionNoSsl() {
|
|
|
$this->skipIf(!extension_loaded('openssl'), 'OpenSSL is not enabled cannot test SSL.');
|
|
|
- $this->assertFalse(defined('HHVM_VERSION'), 'Broken on HHVM');
|
|
|
$configNoSslOrTls = array('host' => 'localhost', 'port' => 80, 'timeout' => 0.1);
|
|
|
|
|
|
// testing exception on no ssl socket server for ssl and tls methods
|
|
|
@@ -269,7 +268,6 @@ class SocketTest extends TestCase {
|
|
|
* @return void
|
|
|
*/
|
|
|
public function testEnableCryptoSocketExceptionNoTls() {
|
|
|
- $this->assertFalse(defined('HHVM_VERSION'), 'Broken on HHVM');
|
|
|
$configNoSslOrTls = array('host' => 'localhost', 'port' => 80, 'timeout' => 0.1);
|
|
|
|
|
|
// testing exception on no ssl socket server for ssl and tls methods
|
|
|
@@ -301,7 +299,6 @@ class SocketTest extends TestCase {
|
|
|
* @return void
|
|
|
*/
|
|
|
public function testEnableCryptoBadMode() {
|
|
|
- $this->assertFalse(defined('HHVM_VERSION'), 'Broken on HHVM');
|
|
|
// testing wrong encryption mode
|
|
|
$this->_connectSocketToSslTls();
|
|
|
$this->Socket->enableCrypto('doesntExistMode', 'server');
|