function MigrateNodeTest::setUp

Same name in this branch
  1. 9 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeTest::setUp()
Same name in other branches
  1. 8.9.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeTest::setUp()
  2. 8.9.x core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeTest::setUp()
  3. 10 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeTest::setUp()
  4. 10 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeTest::setUp()
  5. 11.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeTest::setUp()
  6. 11.x core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTest.php \Drupal\Tests\node\Kernel\Migrate\d7\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',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.