You are here

protected function RemoteFileMoveTest::setUp in Drupal 8

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

Overrides FileTestBase::setUp

File

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

Class

RemoteFileMoveTest
Tests the unmanaged file move function.

Namespace

Drupal\KernelTests\Core\File

Code

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