public function InstallerConfigDirectorySetNoDirectoryTest::testInstaller in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php \Drupal\FunctionalTests\Installer\InstallerConfigDirectorySetNoDirectoryTest::testInstaller()
Verifies that installation succeeded.
File
- core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerConfigDirectorySetNoDirectoryTest.php, line 41
Class
- InstallerConfigDirectorySetNoDirectoryTest
- Tests the installer when a custom config directory set up but does not exist.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testInstaller() {
$this
->assertSession()
->addressEquals('user/1');
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertDirectoryExists($this->syncDirectory);
}