Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/Tests/UiHelperTrait.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
243 $this->drupalLogout(); | 243 $this->drupalLogout(); |
244 } | 244 } |
245 | 245 |
246 $this->drupalGet('user/login'); | 246 $this->drupalGet('user/login'); |
247 $this->submitForm([ | 247 $this->submitForm([ |
248 'name' => $account->getUsername(), | 248 'name' => $account->getAccountName(), |
249 'pass' => $account->passRaw, | 249 'pass' => $account->passRaw, |
250 ], t('Log in')); | 250 ], t('Log in')); |
251 | 251 |
252 // @see ::drupalUserIsLoggedIn() | 252 // @see ::drupalUserIsLoggedIn() |
253 $account->sessionId = $this->getSession()->getCookie(\Drupal::service('session_configuration')->getOptions(\Drupal::request())['name']); | 253 $account->sessionId = $this->getSession()->getCookie(\Drupal::service('session_configuration')->getOptions(\Drupal::request())['name']); |