function MigrateDrupal7TestBase::setUp

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

Overrides MigrateDrupalTestBase::setUp

91 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/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php
MigrateBlockContentBodyFieldTest::setUp in core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php

... See full list

91 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() {
    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.