You are here

public function InstallerConfigDirectorySetNoDirectoryTest::testInstaller in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php \Drupal\FunctionalTests\Installer\InstallerConfigDirectorySetNoDirectoryTest::testInstaller()
  2. 9 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\Installer

Code

public function testInstaller() {
  $this
    ->assertSession()
    ->addressEquals('user/1');
  $this
    ->assertSession()
    ->statusCodeEquals(200);
  $this
    ->assertDirectoryExists($this->syncDirectory);
}