You are here

protected function MigrateDrupalTestBase::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase::setUp()
  2. 10 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());
}