Skip to content

Commit ffb4fed

Browse files
author
Kyra Farrow
committed
[HttpClient] fix test
1 parent 6bea2ff commit ffb4fed

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Tests/CurlHttpClientTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ public function log($level, $message, array $context = [])
6161
$js->getHeaders();
6262

6363
$expected = [
64-
'Request: GET https://http2-push.io/',
65-
'Queueing pushed response: https://http2-push.io/css/style.css',
66-
'Queueing pushed response: https://http2-push.io/js/http2-push.js',
67-
'Response: 200 https://http2-push.io/',
68-
'Connecting request to pushed response: GET https://http2-push.io/css/style.css',
69-
'Connecting request to pushed response: GET https://http2-push.io/js/http2-push.js',
70-
'Response: 200 https://http2-push.io/css/style.css',
71-
'Response: 200 https://http2-push.io/js/http2-push.js',
64+
'Request: "GET https://http2-push.io/"',
65+
'Queueing pushed response: "https://http2-push.io/css/style.css"',
66+
'Queueing pushed response: "https://http2-push.io/js/http2-push.js"',
67+
'Response: "200 https://http2-push.io/"',
68+
'Connecting request to pushed response: "GET https://http2-push.io/css/style.css"',
69+
'Connecting request to pushed response: "GET https://http2-push.io/js/http2-push.js"',
70+
'Response: "200 https://http2-push.io/css/style.css"',
71+
'Response: "200 https://http2-push.io/js/http2-push.js"',
7272
];
7373
$this->assertSame($expected, $logger->logs);
7474
}

0 commit comments

Comments
 (0)