protected function InstallerTest::refreshVariables

During setup(), drupalPost calls refreshVariables() which tries to read variables which are not yet there because the child Drupal is not yet installed.

Overrides WebTestBase::refreshVariables

1 call to InstallerTest::refreshVariables()
InstallerTest::drupalGet in drupal/core/modules/system/lib/Drupal/system/Tests/InstallerTest.php
This override is necessary because the parent drupalGet() calls t(), which is not available early during installation.

File

drupal/core/modules/system/lib/Drupal/system/Tests/InstallerTest.php, line 119
Contains \Drupal\system\Tests\InstallerTest.

Class

InstallerTest
Allows testing of the interactive installer.

Namespace

Drupal\system\Tests

Code

protected function refreshVariables() {
  if (!empty($this->setup)) {
    parent::refreshVariables();
  }
}