You are here

protected function InstallerTestBase::refreshVariables in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::refreshVariables()

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

Overrides RefreshVariablesTrait::refreshVariables

File

core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php, line 275

Class

InstallerTestBase
Base class for testing the interactive installer.

Namespace

Drupal\FunctionalTests\Installer

Code

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