Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/MultipleDistributionsProfileTest.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 |
---|---|
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 |