You are here

protected function RemoteFileSaveUploadTest::setUp in Drupal 9

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

Overrides SaveUploadTest::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();
}