3 namespace Drupal\FunctionalTests\Installer;
6 * Tests the installer with an existing Drupal installation.
10 class InstallerExistingInstallationTest extends InstallerTestBase {
13 * Verifies that Drupal can't be reinstalled while an existing installation is
16 public function testInstaller() {
17 // Verify that Drupal can't be immediately reinstalled.
18 $this->visitInstaller();
19 $this->assertRaw('Drupal already installed');
21 // Delete settings.php and attempt to reinstall again.
22 unlink($this->siteDirectory . '/settings.php');
23 $this->visitInstaller();
24 $this->setUpLanguage();
25 $this->setUpProfile();
26 $this->setUpRequirementsProblem();
27 $this->setUpSettings();
28 $this->assertRaw('Drupal already installed');