function RemoteFileScanDirectoryTest::setUp

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

Overrides FileScanDirectoryTest::setUp

File

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

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.