Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\FunctionalTests\Installer; | |
4 | |
5 use Drupal\Tests\BrowserTestBase; | |
6 | |
7 /** | |
8 * Tests installing the Testing profile with update notifications on. | |
9 * | |
10 * @group Installer | |
11 */ | |
12 class TestingProfileInstallTest extends BrowserTestBase { | |
13 | |
14 /** | |
15 * {@inheritdoc} | |
16 */ | |
17 protected $profile = 'testing'; | |
18 | |
19 /** | |
20 * Ensure the Update module and its dependencies are installed. | |
21 */ | |
22 public function testUpdateModuleInstall() { | |
23 $this->assertTrue( | |
24 \Drupal::moduleHandler()->moduleExists('update') && \Drupal::moduleHandler()->moduleExists('file') && \Drupal::moduleHandler()->moduleExists('field'), | |
25 'The Update module and its dependencies are installed.' | |
26 ); | |
27 } | |
28 | |
29 /** | |
30 * {@inheritdoc} | |
31 */ | |
32 protected function installParameters() { | |
33 $params = parent::installParameters(); | |
34 $params['forms']['install_configure_form']['enable_update_status_module'] = TRUE; | |
35 return $params; | |
36 } | |
37 | |
38 } |