function RemoteFileDirectoryTest::setUp

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

Overrides DrupalWebTestCase::setUp

File

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

Class

RemoteFileDirectoryTest
Directory related tests.

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.