function RemoteFileDeleteRecursiveTest::setUp

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

Overrides FileTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteRecursiveTest.php, line 38

Class

RemoteFileDeleteRecursiveTest
Tests the unmanaged file delete recursive function.

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.