X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FFunctionalTests%2FInstaller%2FInstallerExistingInstallationTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FFunctionalTests%2FInstaller%2FInstallerExistingInstallationTest.php;h=7b29d4acc834127ed58695d39e9a594bcafabb74;hp=0000000000000000000000000000000000000000;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php b/web/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php new file mode 100644 index 000000000..7b29d4acc --- /dev/null +++ b/web/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingInstallationTest.php @@ -0,0 +1,31 @@ +visitInstaller(); + $this->assertRaw('Drupal already installed'); + + // Delete settings.php and attempt to reinstall again. + unlink($this->siteDirectory . '/settings.php'); + $this->visitInstaller(); + $this->setUpLanguage(); + $this->setUpProfile(); + $this->setUpRequirementsProblem(); + $this->setUpSettings(); + $this->assertRaw('Drupal already installed'); + } + +}