Mercurial > hg > cmmr2012-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
14 */ | 14 */ |
15 public function testInstaller() { | 15 public function testInstaller() { |
16 $this->assertUrl('user/1'); | 16 $this->assertUrl('user/1'); |
17 $this->assertResponse(200); | 17 $this->assertResponse(200); |
18 // Confirm that we are logged-in after installation. | 18 // Confirm that we are logged-in after installation. |
19 $this->assertText($this->rootUser->getUsername()); | 19 $this->assertText($this->rootUser->getAccountName()); |
20 | 20 |
21 // Verify that the confirmation message appears. | 21 // Verify that the confirmation message appears. |
22 require_once $this->root . '/core/includes/install.inc'; | 22 require_once $this->root . '/core/includes/install.inc'; |
23 $this->assertRaw(t('Congratulations, you installed @drupal!', [ | 23 $this->assertRaw(t('Congratulations, you installed @drupal!', [ |
24 '@drupal' => drupal_install_profile_distribution_name(), | 24 '@drupal' => drupal_install_profile_distribution_name(), |