You are here

protected function InstallerExistingBrokenDatabaseSettingsTest::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/InstallerExistingBrokenDatabaseSettingsTest.php, line 56

Class

InstallerExistingBrokenDatabaseSettingsTest
Tests the installer with broken database connection info in settings.php.

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.
}