diff --git a/src/Codeception/Lib/Connector/Guzzle.php b/src/Codeception/Lib/Connector/Guzzle.php index 6d2415b..3816b1d 100644 --- a/src/Codeception/Lib/Connector/Guzzle.php +++ b/src/Codeception/Lib/Connector/Guzzle.php @@ -156,7 +156,7 @@ protected function createResponse(Psr7Response $psr7Response): BrowserKitRespons return new BrowserKitResponse($body, $status, $headers); } - protected function getAbsoluteUri($uri) + protected function getAbsoluteUri(string $uri): string { $baseUri = $this->client->getConfig('base_uri'); if (strpos($uri, '://') === false && strpos($uri, '//') !== 0) { diff --git a/tests/unit/Codeception/Module/TestsForWeb.php b/tests/unit/Codeception/Module/TestsForWeb.php index 9d571b5..f4c817d 100644 --- a/tests/unit/Codeception/Module/TestsForWeb.php +++ b/tests/unit/Codeception/Module/TestsForWeb.php @@ -1212,7 +1212,7 @@ public function testClickLinkWithInnerSpan() public function testSelectTwoSubmitsByText() { $this->module->amOnPage('/form/select_two_submits'); - $this->module->selectOption('What kind of sandwich would you like?', 2); + $this->module->selectOption('What kind of sandwich would you like?', '2'); $this->module->click('Save'); $form = data::get('form'); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy