You are here

protected function MigrateDrupal7TestBase::setUp in Drupal 8

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

Overrides MigrateDrupalTestBase::setUp

95 calls to 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
LegacyMigrateUrlAliasTest::setUp in core/modules/path/tests/src/Kernel/Migrate/d7/LegacyMigrateUrlAliasTest.php
MigrateActionConfigsTest::setUp in core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
MigrateActionsTest::setUp in core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php

... See full list

93 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/action/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
MigrateActionsTest::setUp in core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
MigrateAggregatorFeedTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorFeedTest.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() {
  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());
}