You are here

protected function MigratePrivateFileTest::setUp in Drupal 10

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

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/file/tests/src/Kernel/Migrate/d7/MigratePrivateFileTest.php, line 25

Class

MigratePrivateFileTest
Tests private files migration.

Namespace

Drupal\Tests\file\Kernel\Migrate\d7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->setSetting('file_private_path', $this->container
    ->getParameter('site.path') . '/private');
  $this
    ->fileMigrationSetup();
}