Loading core/tests/Drupal/Tests/UiHelperTrait.php +2 −2 Original line number Diff line number Diff line Loading @@ -243,7 +243,7 @@ protected function drupalLogin(AccountInterface $account) { $this->drupalLogout(); } $this->drupalGet('user/login'); $this->drupalGet(Url::fromRoute('user.login')); $this->submitForm([ 'name' => $account->getAccountName(), 'pass' => $account->passRaw, Loading @@ -267,7 +267,7 @@ protected function drupalLogout() { // idea being if you were properly logged out you should be seeing a login // screen. $assert_session = $this->assertSession(); $this->drupalGet('user/logout', ['query' => ['destination' => 'user']]); $this->drupalGet(Url::fromRoute('user.logout', [], ['query' => ['destination' => 'user']])); $assert_session->fieldExists('name'); $assert_session->fieldExists('pass'); Loading Loading
core/tests/Drupal/Tests/UiHelperTrait.php +2 −2 Original line number Diff line number Diff line Loading @@ -243,7 +243,7 @@ protected function drupalLogin(AccountInterface $account) { $this->drupalLogout(); } $this->drupalGet('user/login'); $this->drupalGet(Url::fromRoute('user.login')); $this->submitForm([ 'name' => $account->getAccountName(), 'pass' => $account->passRaw, Loading @@ -267,7 +267,7 @@ protected function drupalLogout() { // idea being if you were properly logged out you should be seeing a login // screen. $assert_session = $this->assertSession(); $this->drupalGet('user/logout', ['query' => ['destination' => 'user']]); $this->drupalGet(Url::fromRoute('user.logout', [], ['query' => ['destination' => 'user']])); $assert_session->fieldExists('name'); $assert_session->fieldExists('pass'); Loading