Mercurial > hg > isophonics-drupal-site
view core/modules/system/src/Tests/Installer/InstallerEmptySettingsTest.php @ 5:c69a71b4f40f
Add slideshow module
author | Chris Cannam |
---|---|
date | Thu, 07 Dec 2017 14:46:23 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\system\Tests\Installer; use Drupal\simpletest\InstallerTestBase; /** * Tests the installer with empty settings file. * * @group Installer */ class InstallerEmptySettingsTest extends InstallerTestBase { /** * {@inheritdoc} */ protected function setUp() { // Create an empty settings.php file. touch($this->siteDirectory . '/settings.php'); parent::setUp(); } /** * Verifies that installation succeeded. */ public function testInstaller() { $this->assertUrl('user/1'); $this->assertResponse(200); } }