function InstallerTestBase::setUpRequirementsProblem
Same name in this branch
- 8.9.x core/modules/simpletest/src/InstallerTestBase.php \Drupal\simpletest\InstallerTestBase::setUpRequirementsProblem()
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()
- 10 core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php \Drupal\FunctionalTests\Installer\InstallerTestBase::setUpRequirementsProblem()
Installer step: Requirements problem.
Override this method to test specific requirements warnings or errors during the installer.
See also
2 calls to InstallerTestBase::setUpRequirementsProblem()
- InstallerExistingInstallationTest::testInstaller in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingInstallationTest.php - Verifies that Drupal can't be reinstalled while an existing installation is available.
- InstallerTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php
1 method overrides InstallerTestBase::setUpRequirementsProblem()
- InstallerExistingConfigSyncDirectoryProfileHookInstall::setUpRequirementsProblem in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigSyncDirectoryProfileHookInstall.php - Installer step: Requirements problem.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php, line 250
Class
- InstallerTestBase
- Base class for testing the interactive installer.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpRequirementsProblem() {
// Do nothing.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.