Mercurial > hg > isophonics-drupal-site
comparison core/modules/system/src/Tests/Installer/InstallerEmptySettingsTest.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\system\Tests\Installer; | |
4 | |
5 use Drupal\simpletest\InstallerTestBase; | |
6 | |
7 /** | |
8 * Tests the installer with empty settings file. | |
9 * | |
10 * @group Installer | |
11 */ | |
12 class InstallerEmptySettingsTest extends InstallerTestBase { | |
13 | |
14 /** | |
15 * {@inheritdoc} | |
16 */ | |
17 protected function setUp() { | |
18 // Create an empty settings.php file. | |
19 touch($this->siteDirectory . '/settings.php'); | |
20 parent::setUp(); | |
21 } | |
22 | |
23 /** | |
24 * Verifies that installation succeeded. | |
25 */ | |
26 public function testInstaller() { | |
27 $this->assertUrl('user/1'); | |
28 $this->assertResponse(200); | |
29 } | |
30 | |
31 } |