function StandardInstallerTest::setUpSite

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php \Drupal\FunctionalTests\Installer\StandardInstallerTest::setUpSite()
  2. 8.9.x core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php \Drupal\FunctionalTests\Installer\StandardInstallerTest::setUpSite()
  3. 11.x core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php \Drupal\FunctionalTests\Installer\StandardInstallerTest::setUpSite()

Overrides InstallerTestBase::setUpSite

File

core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php, line 31

Class

StandardInstallerTest
Tests the interactive installer installing the standard profile.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function setUpSite() {
    // Test that the correct theme is being used.
    $this->assertSession()
        ->responseNotContains('olivero');
    $this->assertSession()
        ->responseContains('css/theme/install-page.css');
    parent::setUpSite();
}

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