function RemoteFileDeleteTest::setUp
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteTest.php \Drupal\KernelTests\Core\File\RemoteFileDeleteTest::setUp()
- 8.9.x core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteTest.php \Drupal\KernelTests\Core\File\RemoteFileDeleteTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/File/RemoteFileDeleteTest.php \Drupal\KernelTests\Core\File\RemoteFileDeleteTest::setUp()
Overrides FileTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileDeleteTest.php, line 36
Class
- RemoteFileDeleteTest
- Tests the unmanaged file delete function.
Namespace
Drupal\KernelTests\Core\FileCode
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.