function MigrateDrupal7TestBase::setUp

Same name in this branch
  1. 9 core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateDrupal7TestBase.php \Drupal\Tests\aggregator\Kernel\Migrate\d7\MigrateDrupal7TestBase::setUp()
Same name and namespace in other branches
  1. 10 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::setUp()
  2. 11.x core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::setUp()
  3. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::setUp()
5 methods override MigrateDrupal7TestBase::setUp()
MigrateBlockTest::setUp in core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockTest.php
MigrateBookConfigsTest::setUp in core/modules/book/tests/src/Kernel/Migrate/d7/MigrateBookConfigsTest.php
MigrateCommentEntityFormDisplayTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php
MigrateForumSettingsTest::setUp in core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateForumSettingsTest.php
MigrateNodeTitleLabelTest::setUp in core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php

File

core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php, line 19

Class

MigrateDrupal7TestBase
Base class for Drupal 7 migration tests.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d7

Code

protected function setUp() {
  parent::setUp();
  // Add a node classic migrate table to the destination site so that tests
  // run by default with the classic node migrations.
  $this->makeNodeMigrateMapTable(NodeMigrateType::NODE_MIGRATE_TYPE_CLASSIC, '7');
  $this->loadFixture($this->getFixtureFilePath());
}

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