3 namespace Drupal\FunctionalTests\Installer;
6 * Tests the installer with empty settings file.
10 class InstallerEmptySettingsTest extends InstallerTestBase {
15 protected function prepareEnvironment() {
16 parent::prepareEnvironment();
17 // Create an empty settings.php file.
18 $path = $this->root . DIRECTORY_SEPARATOR . $this->siteDirectory;
19 file_put_contents($path . '/settings.php', '');
23 * Verifies that installation succeeded.
25 public function testInstaller() {
26 $this->assertUrl('user/1');
27 $this->assertResponse(200);