protected function InstallerProfileRequirementsTest::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
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerProfileRequirementsTest.php, line 32
Class
- InstallerProfileRequirementsTest
- Tests that an install profile can implement hook_requirements().
Namespace
Drupal\FunctionalTests\InstallerCode
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.
}