function InstallerExistingSettingsTest::testInstaller
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php \Drupal\FunctionalTests\Installer\InstallerExistingSettingsTest::testInstaller()
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php \Drupal\FunctionalTests\Installer\InstallerExistingSettingsTest::testInstaller()
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsTest.php \Drupal\FunctionalTests\Installer\InstallerExistingSettingsTest::testInstaller()
Verifies that installation succeeded.
1 method overrides InstallerExistingSettingsTest::testInstaller()
- InstallerIsolationLevelExistingSettingsTest::testInstaller in core/
modules/ mysql/ tests/ src/ Functional/ InstallerIsolationLevelExistingSettingsTest.php - Verifies that isolation_level is not set in the database settings.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingSettingsTest.php, line 81
Class
- InstallerExistingSettingsTest
- Tests the installer with an existing settings file.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testInstaller() : void {
$this->assertSession()
->addressEquals('user/1');
$this->assertSession()
->statusCodeEquals(200);
$this->assertEquals('testing', \Drupal::installProfile());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.