function InstallerExistingSettingsTest::visitInstaller
Visits the interactive installer.
Overrides InstallerTestBase::visitInstaller
File
- 
              core/tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingSettingsTest.php, line 60 
Class
- InstallerExistingSettingsTest
- Tests the installer with an existing settings file.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function visitInstaller() {
  // Should redirect to the installer.
  $this->drupalGet($GLOBALS['base_url']);
  // Ensure no database tables have been created yet.
  $this->assertSame([], Database::getConnection()->schema()
    ->findTables('%'));
  $this->assertSession()
    ->addressEquals($GLOBALS['base_url'] . '/core/install.php');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
