function InstallerExistingSettingsNoProfileTest::testInstaller
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php \Drupal\FunctionalTests\Installer\InstallerExistingSettingsNoProfileTest::testInstaller()
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php \Drupal\FunctionalTests\Installer\InstallerExistingSettingsNoProfileTest::testInstaller()
- 11.x core/tests/Drupal/FunctionalTests/Installer/InstallerExistingSettingsNoProfileTest.php \Drupal\FunctionalTests\Installer\InstallerExistingSettingsNoProfileTest::testInstaller()
Verifies that installation succeeded.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingSettingsNoProfileTest.php, line 68
Class
- InstallerExistingSettingsNoProfileTest
- Tests the installer with an existing settings file but no install profile.
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.