X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FFunctionalTests%2FInstaller%2FInstallerEmptySettingsTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FFunctionalTests%2FInstaller%2FInstallerEmptySettingsTest.php;h=839009ecfbe4ad14767ad1090748f6e56da0bae4;hp=0000000000000000000000000000000000000000;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php b/web/core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php new file mode 100644 index 000000000..839009ecf --- /dev/null +++ b/web/core/tests/Drupal/FunctionalTests/Installer/InstallerEmptySettingsTest.php @@ -0,0 +1,30 @@ +root . DIRECTORY_SEPARATOR . $this->siteDirectory; + file_put_contents($path . '/settings.php', ''); + } + + /** + * Verifies that installation succeeded. + */ + public function testInstaller() { + $this->assertUrl('user/1'); + $this->assertResponse(200); + } + +}