function MigrateDrupal7TestBase::setUp

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::setUp()
  2. 9 core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateDrupal7TestBase.php \Drupal\Tests\aggregator\Kernel\Migrate\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()
  4. 11.x core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::setUp()

Overrides MigrateDrupalTestBase::setUp

93 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
MigrateActionConfigsTest::setUp in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
MigrateActionsTest::setUp in core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
MigrateActionsTest::setUp in core/modules/system/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/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
MigrateActionsTest::setUp in core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
MigrateActionsTest::setUp in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php

... See full list

File

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

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

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