function InstallerProfileRequirementsTest::setUpRequirementsProblem

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php \Drupal\FunctionalTests\Installer\InstallerProfileRequirementsTest::setUpRequirementsProblem()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php \Drupal\FunctionalTests\Installer\InstallerProfileRequirementsTest::setUpRequirementsProblem()

Overrides InstallerTestBase::setUpRequirementsProblem

File

core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php, line 34

Class

InstallerProfileRequirementsTest
Tests that an install profile can implement hook_requirements().

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpRequirementsProblem() : void {
    // 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.
}

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