comparison core/tests/Drupal/FunctionalTests/Installer/DistributionProfileTest.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
67 */ 67 */
68 public function testInstalled() { 68 public function testInstalled() {
69 $this->assertUrl('myrootuser'); 69 $this->assertUrl('myrootuser');
70 $this->assertResponse(200); 70 $this->assertResponse(200);
71 // Confirm that we are logged-in after installation. 71 // Confirm that we are logged-in after installation.
72 $this->assertText($this->rootUser->getUsername()); 72 $this->assertText($this->rootUser->getAccountName());
73 73
74 // Confirm that Drupal recognizes this distribution as the current profile. 74 // Confirm that Drupal recognizes this distribution as the current profile.
75 $this->assertEqual(\Drupal::installProfile(), 'mydistro'); 75 $this->assertEqual(\Drupal::installProfile(), 'mydistro');
76 $this->assertEqual($this->config('core.extension')->get('profile'), 'mydistro', 'The install profile has been written to core.extension configuration.'); 76 $this->assertEqual($this->config('core.extension')->get('profile'), 'mydistro', 'The install profile has been written to core.extension configuration.');
77 } 77 }