@@ -98,7 +98,6 @@ public function gettingPlaintextStuffFromEncryptedGoogleShouldNotWork()
9898 $ this ->assertNotRegExp ('#^HTTP/1\.0# ' , $ response );
9999 }
100100
101- /** @test */
102101 public function testConnectingFailsIfDnsUsesInvalidResolver ()
103102 {
104103 $ loop = Factory::create ();
@@ -114,7 +113,6 @@ public function testConnectingFailsIfDnsUsesInvalidResolver()
114113 Block \await ($ connector ->connect ('google.com:80 ' ), $ loop , self ::TIMEOUT );
115114 }
116115
117- /** @test */
118116 public function testConnectingFailsIfTimeoutIsTooSmall ()
119117 {
120118 if (!function_exists ('stream_socket_enable_crypto ' )) {
@@ -131,7 +129,6 @@ public function testConnectingFailsIfTimeoutIsTooSmall()
131129 Block \await ($ connector ->connect ('google.com:80 ' ), $ loop , self ::TIMEOUT );
132130 }
133131
134- /** @test */
135132 public function testSelfSignedRejectsIfVerificationIsEnabled ()
136133 {
137134 if (!function_exists ('stream_socket_enable_crypto ' )) {
@@ -150,7 +147,6 @@ public function testSelfSignedRejectsIfVerificationIsEnabled()
150147 Block \await ($ connector ->connect ('tls://self-signed.badssl.com:443 ' ), $ loop , self ::TIMEOUT );
151148 }
152149
153- /** @test */
154150 public function testSelfSignedResolvesIfVerificationIsDisabled ()
155151 {
156152 if (!function_exists ('stream_socket_enable_crypto ' )) {
@@ -167,6 +163,9 @@ public function testSelfSignedResolvesIfVerificationIsDisabled()
167163
168164 $ conn = Block \await ($ connector ->connect ('tls://self-signed.badssl.com:443 ' ), $ loop , self ::TIMEOUT );
169165 $ conn ->close ();
166+
167+ // if we reach this, then everything is good
168+ $ this ->assertNull (null );
170169 }
171170
172171 public function testCancelPendingConnection ()
0 commit comments