class RemoteFileSaveUploadTest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest
- 9 core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.php \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest
Tests the file uploading functions.
@group file
Hierarchy
- class \Drupal\Tests\BrowserTestBase extends \PHPUnit\Framework\TestCase uses \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait, FunctionalTestSetupTrait, TestSetupTrait, BlockCreationTrait, ConfigTestTrait, ExtensionListTestTrait, ContentTypeCreationTrait, NodeCreationTrait, RandomGeneratorTrait, TestRequirementsTrait, PhpUnitWarnings, UiHelperTrait, UserCreationTrait, XdebugRequestTrait
- class \Drupal\Tests\file\Functional\FileManagedTestBase
- class \Drupal\Tests\file\Functional\SaveUploadTest uses TestFileCreationTrait
- class \Drupal\Tests\file\Functional\RemoteFileSaveUploadTest
- class \Drupal\Tests\file\Functional\SaveUploadTest uses TestFileCreationTrait
- class \Drupal\Tests\file\Functional\FileManagedTestBase
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\FunctionalView 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();
}
}