function TestingProfileInstallTest::testUpdateModuleInstall

Same name in other branches
  1. 8.9.x 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 is 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'));
}

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