function InstallerTest::setUpSite
Final installer step: Configure site.
Overrides InstallerTestBase::setUpSite
File
- 
              core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTest.php, line 104  
Class
- InstallerTest
 - Tests the interactive installer.
 
Namespace
Drupal\FunctionalTests\InstallerCode
protected function setUpSite() {
  // Assert that the expected title is present.
  $this->assertEquals('Configure site', $this->cssSelect('main h2')[0]
    ->getText());
  // Test that SiteConfigureForm::buildForm() has made the site directory and
  // the settings file non-writable.
  $site_directory = $this->container
    ->getParameter('app.root') . '/' . $this->siteDirectory;
  $this->assertDirectoryIsNotWritable($site_directory);
  $this->assertFileIsNotWritable($site_directory . '/settings.php');
  parent::setUpSite();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.