You are here

protected function MigrateAggregatorItemTest::setUp in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/aggregator/src/Tests/Migrate/d6/MigrateAggregatorItemTest.php \Drupal\aggregator\Tests\Migrate\d6\MigrateAggregatorItemTest::setUp()
  2. 8 core/modules/aggregator/src/Tests/Migrate/d7/MigrateAggregatorItemTest.php \Drupal\aggregator\Tests\Migrate\d7\MigrateAggregatorItemTest::setUp()
Same name and namespace in other branches
  1. 8.0 core/modules/aggregator/src/Tests/Migrate/d7/MigrateAggregatorItemTest.php \Drupal\aggregator\Tests\Migrate\d7\MigrateAggregatorItemTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/aggregator/src/Tests/Migrate/d7/MigrateAggregatorItemTest.php, line 28
Contains \Drupal\aggregator\Tests\Migrate\d7\MigrateAggregatorItemTest.

Class

MigrateAggregatorItemTest
Tests migration of aggregator items.

Namespace

Drupal\aggregator\Tests\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('aggregator_feed');
  $this
    ->installEntitySchema('aggregator_item');
  $this
    ->executeMigration('d7_aggregator_feed');
  $this
    ->executeMigration('d7_aggregator_item');
}