function InstallerExistingBrokenDatabaseSettingsTest::testRequirementsProblem
Same name in other branches
- 8.9.x 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 72
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 10.2.31-MariaDB-1:10.2.31+maria~bionic-log 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.