-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.1
-
MOODLE_402_STABLE
-
MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
-
MDL-78703-401 -
Hi!.
In the following path lib/tests/behat/behat_general.php, the i_wait_to_be_redirected() function has the following line:
$this->getSession()>getDriver()>getClient()->request('get', $url);
The HTTP method "get" needs to be in uppercase letters. If a Behat test executes that line, the following error is displayed:
Invalid HTTP method "get", only uppercase letters are accepted. (Symfony\Component\HttpClient\Exception\InvalidArgumentException)
Thanks!