Skip to content

Commit

Permalink
MDL-78703 behat: fix HTTP GET method capitalization on redirect.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden committed Jul 15, 2023
1 parent 58dc2a9 commit 6ea1f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/behat/behat_general.php
Expand Up @@ -148,7 +148,7 @@ public function i_wait_to_be_redirected() {

} else if (!empty($url)) {
// We redirect directly as we can not wait for an automatic redirection.
$this->getSession()->getDriver()->getClient()->request('get', $url);
$this->getSession()->getDriver()->getClient()->request('GET', $url);

} else {
// Reload the page if no URL was provided.
Expand Down

0 comments on commit 6ea1f21

Please sign in to comment.