RemoteFileDirectoryTest.php
Same filename in other branches
Namespace
Drupal\KernelTests\Core\FileFile
-
core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileDirectoryTest.php
View source
<?php
namespace Drupal\KernelTests\Core\File;
/**
* Tests operations dealing with directories.
*
* @group File
*/
class RemoteFileDirectoryTest extends DirectoryTest {
/**
* Modules to enable.
*
* @var array
*/
protected static $modules = [
'file_test',
];
/**
* A stream wrapper scheme to register for the test.
*
* @var string
*/
protected $scheme = 'dummy-remote';
/**
* A fully-qualified stream wrapper class name to register for the test.
*
* @var string
*/
protected $classname = 'Drupal\\file_test\\StreamWrapper\\DummyRemoteStreamWrapper';
/**
* {@inheritdoc}
*/
protected function setUp() : void {
parent::setUp();
$this->config('system.file')
->set('default_scheme', 'dummy-remote')
->save();
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
RemoteFileDirectoryTest | Tests operations dealing with directories. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.