function FileSystemRequirementsTest::testSettingsExist
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::testSettingsExist()
- 8.9.x core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::testSettingsExist()
- 10 core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::testSettingsExist()
Tests if settings are set, there are not warnings.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSystemRequirementsTest.php, line 35
Class
- FileSystemRequirementsTest
- @group File
Namespace
Drupal\KernelTests\Core\FileCode
public function testSettingsExist() : void {
$this->setSetting('file_temp_path', $this->randomMachineName());
$requirements = $this->checkSystemRequirements();
$this->assertArrayNotHasKey('temp_directory', $requirements);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.