Mercurial > hg > cmmr2012-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.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 |
---|---|
71 */ | 71 */ |
72 public function testInstalled() { | 72 public function testInstalled() { |
73 $this->assertUrl('user/1'); | 73 $this->assertUrl('user/1'); |
74 $this->assertResponse(200); | 74 $this->assertResponse(200); |
75 // Confirm that we are logged-in after installation. | 75 // Confirm that we are logged-in after installation. |
76 $this->assertText($this->rootUser->getUsername()); | 76 $this->assertText($this->rootUser->getAccountName()); |
77 | 77 |
78 // Confirm that Drupal recognizes this distribution as the current profile. | 78 // Confirm that Drupal recognizes this distribution as the current profile. |
79 $this->assertEqual(\Drupal::installProfile(), 'distribution_one'); | 79 $this->assertEqual(\Drupal::installProfile(), 'distribution_one'); |
80 $this->assertEqual($this->config('core.extension')->get('profile'), 'distribution_one', 'The install profile has been written to core.extension configuration.'); | 80 $this->assertEqual($this->config('core.extension')->get('profile'), 'distribution_one', 'The install profile has been written to core.extension configuration.'); |
81 | 81 |