protected function InstallerTest::setUpSettings in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php \Drupal\FunctionalTests\Installer\InstallerTest::setUpSettings()
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerTest.php \Drupal\FunctionalTests\Installer\InstallerTest::setUpSettings()
Installer step: Configure settings.
Overrides InstallerTestBase::setUpSettings
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTest.php, line 85
Class
- InstallerTest
- Tests the interactive installer.
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpSettings() {
// Assert that the expected title is present.
$this
->assertEquals('Database configuration', $this
->cssSelect('main h2')[0]
->getText());
// Assert that we use the by core supported database drivers by default and
// not the ones from the driver_test module.
$this
->assertSession()
->elementTextEquals('xpath', '//label[@for="edit-driver-mysql"]', 'MySQL, MariaDB, Percona Server, or equivalent');
$this
->assertSession()
->elementTextEquals('xpath', '//label[@for="edit-driver-pgsql"]', 'PostgreSQL');
parent::setUpSettings();
}