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();
} /**
* {@inheritdoc}
*/
protected function setUpSite() { // Assert that the expected title is present.
$this->
assertEquals('Configure site',
$this->
cssSelect('main h2'
)[0
]->
getText());
// Test that SiteConfigureForm::buildForm() has made the site directory and
// the settings file non-writable.