You are here

protected function ContentEntityAutosaveFormTestBase::relogUser in Autosave Form 8

Logs out and logs in the web user.

1 call to ContentEntityAutosaveFormTestBase::relogUser()
ContentEntityAutosaveFormTestBase::testAutosaveForms in tests/src/FunctionalJavascript/ContentEntity/ContentEntityAutosaveFormTestBase.php
Tests autosave.

File

tests/src/FunctionalJavascript/ContentEntity/ContentEntityAutosaveFormTestBase.php, line 736

Class

ContentEntityAutosaveFormTestBase
Base test class for testing autosave support for entity forms.

Namespace

Drupal\Tests\autosave_form\FunctionalJavascript\ContentEntity

Code

protected function relogUser() {
  $this
    ->drupalLogout();
  $this
    ->drupalLogin($this->webUser);
}