function RemoteFileScanDirectoryTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()
  3. 10 core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()
  4. 11.x core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()

Overrides FileScanDirectoryTest::setUp

File

modules/simpletest/tests/file.test, line 1386

Class

RemoteFileScanDirectoryTest
Tests the file_scan_directory() function on remote filesystems.

Code

function setUp() {
    parent::setUp('file_test');
    variable_set('file_default_scheme', 'dummy-remote');
}

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