function MoveTest::setUp
Overrides FileManagedUnitTestBase::setUp
File
-
core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php, line 32
Class
- MoveTest
- Tests the file move function.
Namespace
Drupal\Tests\file\KernelCode
protected function setUp() : void {
parent::setUp();
$this->fileRepository = $this->container
->get('file.repository');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.