You are here

protected function MigrateAggregatorItemTest::setUp in Drupal 9

Same name in this branch
  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()
Same name and namespace in other branches
  1. 8 core/modules/aggregator/tests/src/Kernel/Migrate/d6/MigrateAggregatorItemTest.php \Drupal\Tests\aggregator\Kernel\Migrate\d6\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() : void {
  parent::setUp();
  $this
    ->installEntitySchema('aggregator_feed');
  $this
    ->installEntitySchema('aggregator_item');
  $this
    ->executeMigrations([
    'd6_aggregator_feed',
    'd6_aggregator_item',
  ]);
}