You are here

protected function RemoteFileDirectoryTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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 33

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();
}