function InstallerExistingBrokenDatabaseSettingsTest::testRequirementsProblem
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php \Drupal\FunctionalTests\Installer\InstallerExistingBrokenDatabaseSettingsTest::testRequirementsProblem()
- 10 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php \Drupal\FunctionalTests\Installer\InstallerExistingBrokenDatabaseSettingsTest::testRequirementsProblem()
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingBrokenDatabaseSettingsTest.php \Drupal\FunctionalTests\Installer\InstallerExistingBrokenDatabaseSettingsTest::testRequirementsProblem()
Tests the expected requirements problem.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingBrokenDatabaseSettingsTest.php, line 63
Class
- InstallerExistingBrokenDatabaseSettingsTest
- Tests the installer with broken database connection info in settings.php.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testRequirementsProblem() {
$this->assertSession()
->titleEquals('Requirements problem | Drupal');
$this->assertSession()
->pageTextContains('Database settings');
$this->assertSession()
->pageTextContains('Resolve all issues below to continue the installation. For help configuring your database server,');
$this->assertSession()
->pageTextContains('The database server version 5.5.2 is less than the minimum required version');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.