function RemoteFileDirectoryTest::setUp

Same name in other branches
  1. 7.x modules/simpletest/tests/file.test \RemoteFileDirectoryTest::setUp()
  2. 9 core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileDirectoryTest::setUp()
  3. 8.9.x 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 FileTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php, line 36

Class

RemoteFileDirectoryTest
Tests operations dealing with directories.

Namespace

Drupal\KernelTests\Core\File

Code

protected function setUp() : void {
    parent::setUp();
    $this->config('system.file')
        ->set('default_scheme', 'dummy-remote')
        ->save();
}

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