diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php index f5fb5dc225..141f047a3c 100644 --- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php +++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php @@ -54,6 +54,17 @@ protected function prepareEnvironment() { mkdir($this->settings['settings']['config_sync_directory']->value, 0777, TRUE); } + /** + * Visits the interactive installer. + */ + 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'); + } + /** * {@inheritdoc} */