function FileUploadHandlerTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php, line 35

Class

FileUploadHandlerTest
Tests the file upload handler.

Namespace

Drupal\Tests\file\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->fileUploadHandler = $this->container
    ->get('file.upload_handler');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.