You are here

RemoteFileSaveUploadTest.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php

File

core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php
View source
<?php

namespace Drupal\Tests\file\Functional;


/**
 * Tests the file uploading functions.
 *
 * @group file
 */
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();
  }

}

Classes

Namesort descending Description
RemoteFileSaveUploadTest Tests the file uploading functions.