You are here

protected function RemoteFileScanDirectoryTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()
  2. 9 core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()

Overrides ScanDirectoryTest::setUp

File

core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php, line 34

Class

RemoteFileScanDirectoryTest
Tests \Drupal\Core\File\FileSystemInterface::scanDirectory().

Namespace

Drupal\KernelTests\Core\File

Code

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