You are here

protected function FileSystemRequirementsTest::checkSystemRequirements in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::checkSystemRequirements()

Checks system runtime requirements.

Return value

array An array of system requirements.

1 call to FileSystemRequirementsTest::checkSystemRequirements()
FileSystemRequirementsTest::testSettingsExist in core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php
Tests if settings are set, there are not warnings.

File

core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php, line 47

Class

FileSystemRequirementsTest
@group File

Namespace

Drupal\KernelTests\Core\File

Code

protected function checkSystemRequirements() {
  module_load_install('system');
  return system_requirements('runtime');
}