You are here

protected function InstallerTestBase::refreshVariables in Drupal 8

Same name in this branch
  1. 8 core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::refreshVariables()
  2. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::refreshVariables()

WebTestBase::refreshVariables() tries to operate on persistent storage, which is only available after the installer completed.

Overrides RefreshVariablesTrait::refreshVariables

File

core/modules/simpletest/src/InstallerTestBase.php, line 242

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\simpletest

Code

protected function refreshVariables() {
  if ($this->isInstalled) {
    parent::refreshVariables();
  }
}