function MigrateTermNodeRevisionTest::setUp

Same name in other branches
  1. 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTermNodeRevisionTest::setUp()
  2. 10 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTermNodeRevisionTest::setUp()
  3. 11.x 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',
    ]);
}

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