Skip to content
Snippets Groups Projects
Commit ac55a708 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2832080 by cebasqueira, Berdir: BrowserTestBase::drupalLogin() does an...

Issue #2832080 by cebasqueira, Berdir: BrowserTestBase::drupalLogin() does an unnecessary redirect from /user to /user/login for each login
parent 69c0eadb
No related branches found
No related tags found
No related merge requests found
...@@ -720,7 +720,7 @@ protected function drupalLogin(AccountInterface $account) { ...@@ -720,7 +720,7 @@ protected function drupalLogin(AccountInterface $account) {
$this->drupalLogout(); $this->drupalLogout();
} }
$this->drupalGet('user'); $this->drupalGet('user/login');
$this->assertSession()->statusCodeEquals(200); $this->assertSession()->statusCodeEquals(200);
$this->submitForm(array( $this->submitForm(array(
'name' => $account->getUsername(), 'name' => $account->getUsername(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment