function InstallerSkipPermissionHardeningTest::prepareEnvironment

Same name in other branches
  1. 9 core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php \Drupal\FunctionalTests\Installer\InstallerSkipPermissionHardeningTest::prepareEnvironment()
  2. 8.9.x core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php \Drupal\FunctionalTests\Installer\InstallerSkipPermissionHardeningTest::prepareEnvironment()
  3. 10 core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php \Drupal\FunctionalTests\Installer\InstallerSkipPermissionHardeningTest::prepareEnvironment()

Overrides FunctionalTestSetupTrait::prepareEnvironment

File

core/tests/Drupal/FunctionalTests/Installer/InstallerSkipPermissionHardeningTest.php, line 22

Class

InstallerSkipPermissionHardeningTest
Verifies that the installer skipped permission hardening.

Namespace

Drupal\FunctionalTests\Installer

Code

protected function prepareEnvironment() : void {
    parent::prepareEnvironment();
    $this->settings['settings']['skip_permissions_hardening'] = (object) [
        'value' => TRUE,
        'required' => TRUE,
    ];
}

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