You are here

protected function FileMigrationTestTrait::setUpMigratedFiles in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php \Drupal\Tests\file\Kernel\Migrate\d6\FileMigrationTestTrait::setUpMigratedFiles()

Setup and execute d6_file migration.

5 calls to FileMigrationTestTrait::setUpMigratedFiles()
MigrateFileTest::setUp in core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileTest.php
MigrateImageTest::setUp in core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php
MigrateNodeCompleteTest::setUp in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeCompleteTest.php
MigrateNodeTest::setUp in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php
MigrateUserPictureD6FileTest::testUserPictures in core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureD6FileTest.php
Tests the Drupal 6 user pictures to Drupal 8 migration.

File

core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php, line 15

Class

FileMigrationTestTrait
Helper for setting up a file migration test.

Namespace

Drupal\Tests\file\Kernel\Migrate\d6

Code

protected function setUpMigratedFiles() {
  $this
    ->installEntitySchema('file');
  $this
    ->installConfig([
    'file',
  ]);
  $this
    ->executeMigration('d6_file');
}