You are here

protected function MigrateTermNodeRevisionTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTermNodeRevisionTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php, line 22

Class

MigrateTermNodeRevisionTest
Upgrade taxonomy term node associations.

Namespace

Drupal\Tests\taxonomy\Kernel\Migrate\d6

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->migrateContent([
    'revisions',
  ]);
  $this
    ->migrateTaxonomy();
  $this
    ->executeMigrations([
    'd6_term_node',
    'd6_term_node_revision',
  ]);
}