You are here

class RemoteFileSaveUploadTest 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
  2. 9 core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest

Tests the file uploading functions.

@group file

Hierarchy

Expanded class hierarchy of RemoteFileSaveUploadTest

1 string reference to 'RemoteFileSaveUploadTest'
drupal7.php in core/modules/migrate_drupal/tests/fixtures/drupal7.php
A database agnostic dump for testing purposes.

File

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

Namespace

Drupal\Tests\file\Functional
View source
class RemoteFileSaveUploadTest extends SaveUploadTest {

  /**
   * Modules to enable.
   *
   * @var array
   */
  protected static $modules = [
    'file_test',
  ];

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
  protected function setUp() : void {
    parent::setUp();
    $this
      ->config('system.file')
      ->set('default_scheme', 'dummy-remote')
      ->save();
  }

}

Members