function InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage
Same name in other branches
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php \Drupal\FunctionalTests\Installer\InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage()
- 10 core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php \Drupal\FunctionalTests\Installer\InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage()
- 11.x 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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.