You are here

protected function MigrateDrupal7TestBase::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::setUp()
  2. 9 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::setUp()

Overrides MigrateDrupalTestBase::setUp

29 calls to MigrateDrupal7TestBase::setUp()
FieldDiscoveryTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php
MigrateBlockContentBodyFieldTest::setUp in core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php
MigrateBlockContentEntityDisplayTest::setUp in core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityDisplayTest.php
MigrateBlockContentEntityFormDisplayTest::setUp in core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityFormDisplayTest.php
MigrateBlockContentTypeTest::setUp in core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php

... See full list

90 methods override MigrateDrupal7TestBase::setUp()
FieldDiscoveryTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d7/FieldDiscoveryTest.php
FollowUpMigrationsTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php
MigrateActionConfigsTest::setUp in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
MigrateActionsTest::setUp in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
MigrateBlockContentBodyFieldTest::setUp in core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php

... See full list

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() : 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());
}