public function InstallerExistingDatabaseSettingsTest::testInstaller in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php \Drupal\FunctionalTests\Installer\InstallerExistingDatabaseSettingsTest::testInstaller()
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingDatabaseSettingsTest.php \Drupal\FunctionalTests\Installer\InstallerExistingDatabaseSettingsTest::testInstaller()
Verifies that installation succeeded.
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingDatabaseSettingsTest.php, line 61
Class
- InstallerExistingDatabaseSettingsTest
- Tests the installer with an existing settings file with database connection info.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testInstaller() {
$this
->assertSession()
->addressEquals('user/1');
$this
->assertSession()
->statusCodeEquals(200);
}