Skip to content

Commit d53781d

Browse files
committed
Disable peer and host verification in NativeHttpClientTest
Was supposedly forgotten - other implementations have it.
1 parent 71adfd9 commit d53781d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpClient/Tests/NativeHttpClientTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class NativeHttpClientTest extends HttpClientTestCase
1818
{
1919
protected function getHttpClient(string $testCase): HttpClientInterface
2020
{
21-
return new NativeHttpClient();
21+
return new NativeHttpClient(['verify_peer' => false, 'verify_host' => false]);
2222
}
2323

2424
public function testInformationalResponseStream()

0 commit comments

Comments
 (0)