function MigrateDrupal7TestBase::setUp

Same name in this branch
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::setUp()
Same name 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

4 calls to MigrateDrupal7TestBase::setUp()
MigrateAggregatorFeedTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorFeedTest.php
MigrateAggregatorItemTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorItemTest.php
MigrateAggregatorSettingsTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorSettingsTest.php
MigrateDrupal7AuditIdsTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateDrupal7AuditIdsTest.php
4 methods override MigrateDrupal7TestBase::setUp()
MigrateAggregatorFeedTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorFeedTest.php
MigrateAggregatorItemTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorItemTest.php
MigrateAggregatorSettingsTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorSettingsTest.php
MigrateDrupal7AuditIdsTest::setUp in core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateDrupal7AuditIdsTest.php

File

core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateDrupal7TestBase.php, line 26

Class

MigrateDrupal7TestBase
Base class for Drupal 7 migration tests.

Namespace

Drupal\Tests\aggregator\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());
}

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