You are here

protected function InstallerExistingConfigProfileHookInstall::setUpRequirementsProblem in Drupal 10

Installer step: Requirements problem.

Override this method to test specific requirements warnings or errors during the installer.

Overrides InstallerTestBase::setUpRequirementsProblem

See also

system_requirements()

File

core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigProfileHookInstall.php, line 40

Class

InstallerExistingConfigProfileHookInstall
Verifies that profiles with hook_install() can't be installed from config.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpRequirementsProblem() {

  // The parent method asserts that there are no requirements errors, but
  // this test expects a requirements error in the test method below.
  // Therefore, we override this method to suppress the parent's assertions.
}