You are here

protected function RemoteFileUnmanagedCopyTest::setUp in Drupal 10

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

Overrides FileTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/File/RemoteFileUnmanagedCopyTest.php, line 33

Class

RemoteFileUnmanagedCopyTest
Tests the unmanaged file copy function.

Namespace

Drupal\KernelTests\Core\File

Code

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