public function TestingProfileInstallTest::testUpdateModuleInstall in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php \Drupal\FunctionalTests\Installer\TestingProfileInstallTest::testUpdateModuleInstall()
Ensure the Update module and its dependencies are installed.
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ TestingProfileInstallTest.php, line 27
Class
- TestingProfileInstallTest
- Tests installing the Testing profile with update notifications on.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testUpdateModuleInstall() {
$this
->assertTrue(\Drupal::moduleHandler()
->moduleExists('update') && \Drupal::moduleHandler()
->moduleExists('file') && \Drupal::moduleHandler()
->moduleExists('field'), 'The Update module and its dependencies are installed.');
}