diff --git a/composer.json b/composer.json index 70eb7b9..54ac7f8 100644 --- a/composer.json +++ b/composer.json @@ -17,17 +17,17 @@ "require": { "php": "^7.4 | ^8.0", "ext-json": "*", - "guzzlehttp/guzzle": "^7.3", - "codeception/lib-innerbrowser": "^1.5 | *@dev", - "codeception/codeception": "^4.0 | *@dev" + "guzzlehttp/guzzle": "^7.4", + "codeception/lib-innerbrowser": "^2.0 | *@dev", + "codeception/codeception": "^4.1 | *@dev" }, "require-dev": { "ext-curl": "*", "aws/aws-sdk-php": "^3.199", - "codeception/module-rest": "^1.3 | *@dev" + "codeception/module-rest": "^2.0 | *@dev" }, "conflict": { - "codeception/codeception": "<4.0" + "codeception/codeception": "<4.1" }, "suggest": { "codeception/phpbuiltinserver": "Start and stop PHP built-in web server for your tests" diff --git a/src/Codeception/Lib/Connector/Guzzle.php b/src/Codeception/Lib/Connector/Guzzle.php index 302f819..6d2415b 100644 --- a/src/Codeception/Lib/Connector/Guzzle.php +++ b/src/Codeception/Lib/Connector/Guzzle.php @@ -171,7 +171,7 @@ protected function getAbsoluteUri($uri) // relative url if (!$this->getHistory()->isEmpty()) { - return Uri::mergeUrls((string)$this->getHistory()->current()->getUri(), $uri); + return Uri::mergeUrls($this->getHistory()->current()->getUri(), $uri); } }