Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
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(), |