We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6663e5a + 8d25d58 commit 9ac8f73Copy full SHA for 9ac8f73
Tests/CurlHttpClientTest.php
@@ -128,7 +128,7 @@ private function getVulcainClient(): CurlHttpClient
128
return $client;
129
}
130
131
- if (200 !== $client->request('GET', 'http://127.0.0.1:8057/json')->getStatusCode()) {
+ if (['application/json'] !== $client->request('GET', 'http://127.0.0.1:8057/json')->getHeaders()['content-type']) {
132
$this->markTestSkipped('symfony/http-client-contracts >= 2.0.1 required');
133
134
0 commit comments