function InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php \Drupal\FunctionalTests\Installer\InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage()
  2. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerDatabaseErrorMessagesTest.php \Drupal\FunctionalTests\Installer\InstallerDatabaseErrorMessagesTest::testSetUpSettingsErrorMessage()
  3. 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 41

Class

InstallerDatabaseErrorMessagesTest
Tests the installer with database errors.

Namespace

Drupal\FunctionalTests\Installer

Code

public function testSetUpSettingsErrorMessage() {
    $this->assertRaw('<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.