X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FInstaller%2FInstallerExistingInstallationTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Fsrc%2FTests%2FInstaller%2FInstallerExistingInstallationTest.php;h=3ba045a0ad6083adfd632666b89106018d0df79e;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/system/src/Tests/Installer/InstallerExistingInstallationTest.php b/web/core/modules/system/src/Tests/Installer/InstallerExistingInstallationTest.php new file mode 100644 index 000000000..3ba045a0a --- /dev/null +++ b/web/core/modules/system/src/Tests/Installer/InstallerExistingInstallationTest.php @@ -0,0 +1,39 @@ +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->setUpSettings(); + $this->assertRaw('Drupal already installed'); + } + +}