You are here

protected function MigrateNodeTest::setUp in Drupal 9

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

Overrides MigrateNodeTestBase::setUp

File

core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php, line 31

Class

MigrateNodeTest
Node content migration.

Namespace

Drupal\Tests\node\Kernel\Migrate\d6

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->setUpMigratedFiles();
  $this
    ->installSchema('file', [
    'file_usage',
  ]);
  $this
    ->executeMigrations([
    'language',
    'd6_language_content_settings',
    'd6_node',
    'd6_node_translation',
  ]);
}