You are here

public function TestingProfileInstallTest::testUpdateModuleInstall in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/TestingProfileInstallTest.php \Drupal\FunctionalTests\Installer\TestingProfileInstallTest::testUpdateModuleInstall()
  2. 9 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'));
}