Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
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->getUsername()); |
20 | 20 |
21 // Verify that the confirmation message appears. | 21 // Verify that the confirmation message appears. |
22 require_once \Drupal::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(), |
25 ])); | 25 ])); |
26 | 26 |
27 // Ensure that the timezone is correct for sites under test after installing | 27 // Ensure that the timezone is correct for sites under test after installing |