Skip to content

Commit d3cad5e

Browse files
committedFeb 19, 2022
Support BrowserKit 4.4
1 parent 8e1fdcc commit d3cad5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"codeception/codeception": "*@dev",
2424
"codeception/lib-innerbrowser": "*@dev",
2525
"guzzlehttp/guzzle": "^7.4",
26-
"symfony/browser-kit": "^5.4 || ^6.0"
26+
"symfony/browser-kit": "^4.4"
2727
},
2828
"require-dev": {
2929
"ext-curl": "*",

‎src/Codeception/Lib/Connector/Guzzle.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ protected function createResponse(Psr7Response $psr7Response): BrowserKitRespons
156156
return new BrowserKitResponse($body, $status, $headers);
157157
}
158158

159-
protected function getAbsoluteUri(string $uri): string
159+
protected function getAbsoluteUri($uri): string
160160
{
161161
$baseUri = $this->client->getConfig('base_uri');
162162
if (strpos($uri, '://') === false && strpos($uri, '//') !== 0) {

0 commit comments

Comments
 (0)
Please sign in to comment.