You are here

protected function RemoteFileSaveUploadTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest::setUp()
  2. 9 core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest::setUp()

File

core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php, line 24

Class

RemoteFileSaveUploadTest
Tests the file uploading functions.

Namespace

Drupal\Tests\file\Functional

Code

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