function FileMoveTest::setUp

Same name in other branches
  1. 10 core/modules/image/tests/src/Kernel/FileMoveTest.php \Drupal\Tests\image\Kernel\FileMoveTest::setUp()
  2. 11.x core/modules/image/tests/src/Kernel/FileMoveTest.php \Drupal\Tests\image\Kernel\FileMoveTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/image/tests/src/Functional/FileMoveTest.php, line 45

Class

FileMoveTest
Tests the file move function for images and image styles.

Namespace

Drupal\Tests\image\Functional

Code

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.