protected function HtaccessTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php \Drupal\KernelTests\Core\File\HtaccessTest::setUp()
- 9 core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php \Drupal\KernelTests\Core\File\HtaccessTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
tests/ Drupal/ KernelTests/ Core/ File/ HtaccessTest.php, line 39
Class
- HtaccessTest
- Tests .htaccess file saving.
Namespace
Drupal\KernelTests\Core\FileCode
protected function setUp() : void {
parent::setUp();
$this->public = Settings::get('file_public_path') . '/test/public';
$this->htaccessWriter = $this->container
->get('file.htaccess_writer');
}