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