protected function FileMigrationTestTrait::setUpMigratedFiles in Drupal 8
Same name and namespace in other branches
- 9 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::setUp in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserPictureD6FileTest.php
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\d6Code
protected function setUpMigratedFiles() {
$this
->installEntitySchema('file');
$this
->installConfig([
'file',
]);
$this
->executeMigration('d6_file');
}