Skip to content

Commit d5ceb3f

Browse files
committed
Skip legacy HHVM test failure regarding secure TLS connections
1 parent fd7e5e0 commit d5ceb3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/FunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ public function testPlainGoogleDoesNotAcceptConnectMethod()
6161

6262
public function testSecureGoogleDoesNotAcceptConnectMethod()
6363
{
64-
if (!function_exists('stream_socket_enable_crypto')) {
65-
$this->markTestSkipped('TLS not supported on really old platforms (HHVM < 3.8)');
64+
if (defined('HHVM_VERSION')) {
65+
$this->markTestSkipped('TLS not supported on legacy HHVM');
6666
}
6767

6868
$secure = new SecureConnector($this->dnsConnector, $this->loop);

0 commit comments

Comments
 (0)