public function InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php \Drupal\FunctionalTests\Installer\InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage()
Verifies that the error message in the settings step is correct.
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerDatabaseErrorMessagesTest.php, line 51
Class
- InstallerDatabaseErrorMessagesTest
- Tests the installer with database errors.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testSetUpSettingsErrorMessage() {
$this
->assertSession()
->responseContains('<ul><li>Failed to <strong>CREATE</strong> a test table');
}