function MigrateDrupalTestBase::setUp

Same name in this branch
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase::setUp()
Same name in other branches
  1. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase::setUp()
  2. 10 core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase::setUp()
  3. 10 core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateDrupalTestBase.php \Drupal\Tests\tracker\Kernel\Migrate\d7\MigrateDrupalTestBase::setUp()
  4. 11.x core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase::setUp()
  5. 11.x core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateDrupalTestBase.php \Drupal\Tests\tracker\Kernel\Migrate\d7\MigrateDrupalTestBase::setUp()

Overrides MigrateDrupalTestBase::setUp

3 calls to MigrateDrupalTestBase::setUp()
MigrateTrackerNodeTest::setUp in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerNodeTest.php
MigrateTrackerSettingsTest::setUp in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerSettingsTest.php
MigrateTrackerUserTest::setUp in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php
3 methods override MigrateDrupalTestBase::setUp()
MigrateTrackerNodeTest::setUp in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerNodeTest.php
MigrateTrackerSettingsTest::setUp in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerSettingsTest.php
MigrateTrackerUserTest::setUp in core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php

File

core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateDrupalTestBase.php, line 19

Class

MigrateDrupalTestBase
Base class for Tracker Drupal 7 migration tests.

Namespace

Drupal\Tests\tracker\Kernel\Migrate\d7

Code

protected function setUp() : void {
    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.