MDL-78703 behat: fix HTTP GET method capitalization on redirect.

This commit is contained in:
Paul Holden
2023-07-15 01:00:16 +01:00
parent 58dc2a9b07
commit 6ea1f21676
+1 -1
View File
@@ -148,7 +148,7 @@ class behat_general extends behat_base {
} 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.