Skip to content

Commit 9ac8f73

Browse files
Merge branch '4.3' into 4.4
* 4.3: bug #34554 [HttpClient] Fix early cleanup of pushed HTTP/2 responses (lyrixx)
2 parents 6663e5a + 8d25d58 commit 9ac8f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/CurlHttpClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private function getVulcainClient(): CurlHttpClient
128128
return $client;
129129
}
130130

131-
if (200 !== $client->request('GET', 'http://127.0.0.1:8057/json')->getStatusCode()) {
131+
if (['application/json'] !== $client->request('GET', 'http://127.0.0.1:8057/json')->getHeaders()['content-type']) {
132132
$this->markTestSkipped('symfony/http-client-contracts >= 2.0.1 required');
133133
}
134134

0 commit comments

Comments
 (0)