public function InstallerExistingBrokenDatabaseSettingsTest::testRequirementsProblem in Drupal 9
Same name and namespace in other branches
- 8 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 10.2.31-MariaDB-1:10.2.31+maria~bionic-log is less than the minimum required version');
}