function MigrateDrupal6TestBase::setUp

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::setUp()
  2. 9 core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateDrupal6TestBase.php \Drupal\Tests\aggregator\Kernel\Migrate\d6\MigrateDrupal6TestBase::setUp()
  3. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::setUp()
  4. 11.x core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::setUp()

Overrides MigrateDrupalTestBase::setUp

101 calls to MigrateDrupal6TestBase::setUp()
EntityContentBaseTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php
FieldDiscoveryTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d6/FieldDiscoveryTest.php
IdMapTableNoDummyTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php
MigrateActionConfigsTest::setUp in core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php
MigrateActionsTest::setUp in core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php

... See full list

101 methods override MigrateDrupal6TestBase::setUp()
EntityContentBaseTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php
FieldDiscoveryTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/d6/FieldDiscoveryTest.php
IdMapTableNoDummyTest::setUp in core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php
MigrateActionConfigsTest::setUp in core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php
MigrateActionsTest::setUp in core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php

... See full list

File

core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php, line 34

Class

MigrateDrupal6TestBase
Base class for Drupal 6 migration tests.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d6

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, '6');
    $this->loadFixture($this->getFixtureFilePath());
}

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