[HttpClient] fix test
This commit is contained in:
parent
9277e539ba
commit
ce26936730
@ -61,14 +61,14 @@ class CurlHttpClientTest extends HttpClientTestCase
|
|||||||
$js->getHeaders();
|
$js->getHeaders();
|
||||||
|
|
||||||
$expected = [
|
$expected = [
|
||||||
'Request: GET https://http2-push.io/',
|
'Request: "GET https://http2-push.io/"',
|
||||||
'Queueing pushed response: https://http2-push.io/css/style.css',
|
'Queueing pushed response: "https://http2-push.io/css/style.css"',
|
||||||
'Queueing pushed response: https://http2-push.io/js/http2-push.js',
|
'Queueing pushed response: "https://http2-push.io/js/http2-push.js"',
|
||||||
'Response: 200 https://http2-push.io/',
|
'Response: "200 https://http2-push.io/"',
|
||||||
'Connecting request to pushed response: GET https://http2-push.io/css/style.css',
|
'Connecting request to pushed response: "GET https://http2-push.io/css/style.css"',
|
||||||
'Connecting request to pushed response: GET https://http2-push.io/js/http2-push.js',
|
'Connecting request to pushed response: "GET https://http2-push.io/js/http2-push.js"',
|
||||||
'Response: 200 https://http2-push.io/css/style.css',
|
'Response: "200 https://http2-push.io/css/style.css"',
|
||||||
'Response: 200 https://http2-push.io/js/http2-push.js',
|
'Response: "200 https://http2-push.io/js/http2-push.js"',
|
||||||
];
|
];
|
||||||
$this->assertSame($expected, $logger->logs);
|
$this->assertSame($expected, $logger->logs);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user