function InstallerConfigDirectorySetNoDirectoryTest::testInstaller

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php \Drupal\FunctionalTests\Installer\InstallerConfigDirectorySetNoDirectoryTest::testInstaller()
  2. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php \Drupal\FunctionalTests\Installer\InstallerConfigDirectorySetNoDirectoryTest::testInstaller()
  3. 10 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 43

Class

InstallerConfigDirectorySetNoDirectoryTest
Tests the installer when a custom config directory set up but does not exist.

Namespace

Drupal\FunctionalTests\Installer

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.