RemoteFileSaveUploadTest.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Tests\file\FunctionalFile
core/modules/file/tests/src/Functional/RemoteFileSaveUploadTest.phpView source
<?php
namespace Drupal\Tests\file\Functional;
/**
* Tests the file uploading functions.
*
* @group file
*/
class RemoteFileSaveUploadTest extends SaveUploadTest {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'file_test',
];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
protected function setUp() {
parent::setUp();
$this
->config('system.file')
->set('default_scheme', 'dummy-remote')
->save();
}
}
Classes
Name | Description |
---|---|
RemoteFileSaveUploadTest | Tests the file uploading functions. |