You are here

protected function MigrateTermNodeRevisionTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/taxonomy/src/Tests/Migrate/d6/MigrateTermNodeRevisionTest.php, line 27
Contains \Drupal\taxonomy\Tests\Migrate\d6\MigrateTermNodeRevisionTest.

Class

MigrateTermNodeRevisionTest
Upgrade taxonomy term node associations.

Namespace

Drupal\taxonomy\Tests\Migrate\d6

Code

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