function MigrateAggregatorItemTest::setUp

Same name in this branch
  1. 8.9.x core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorItemTest.php \Drupal\Tests\aggregator\Kernel\Migrate\d7\MigrateAggregatorItemTest::setUp()
Same name in other branches
  1. 9 core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php \Drupal\Tests\aggregator\Kernel\Migrate\d6\MigrateAggregatorItemTest::setUp()
  2. 9 core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateAggregatorItemTest.php \Drupal\Tests\aggregator\Kernel\Migrate\d7\MigrateAggregatorItemTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php, line 23

Class

MigrateAggregatorItemTest
Tests migration of aggregator items.

Namespace

Drupal\Tests\aggregator\Kernel\Migrate\d6

Code

protected function setUp() {
    parent::setUp();
    $this->installEntitySchema('aggregator_feed');
    $this->installEntitySchema('aggregator_item');
    $this->executeMigrations([
        'd6_aggregator_feed',
        'd6_aggregator_item',
    ]);
}

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