function TestingProfileInstallTest::testUpdateModuleInstall

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php \Drupal\FunctionalTests\Installer\TestingProfileInstallTest::testUpdateModuleInstall()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php \Drupal\FunctionalTests\Installer\TestingProfileInstallTest::testUpdateModuleInstall()
  3. 11.x 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\Installer

Code

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.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.