function FileUploadHandlerTest::setUp

Same name and namespace in other branches
  1. 9 core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php \Drupal\Tests\file\Kernel\FileUploadHandlerTest::setUp()
  2. 10 core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php \Drupal\Tests\file\Kernel\FileUploadHandlerTest::setUp()

Overrides KernelTestBase::setUp

File

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

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.