You are here

protected function MigrateBlockContentBodyFieldTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block_content/src/Tests/Migrate/MigrateBlockContentBodyFieldTest.php \Drupal\block_content\Tests\Migrate\MigrateBlockContentBodyFieldTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/block_content/src/Tests/Migrate/MigrateBlockContentBodyFieldTest.php, line 28
Contains \Drupal\block_content\Tests\Migrate\MigrateBlockContentBodyFieldTest.

Class

MigrateBlockContentBodyFieldTest
Attaches a body field to the custom block type.

Namespace

Drupal\block_content\Tests\Migrate

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig([
    'block_content',
  ]);
  $this
    ->installEntitySchema('block_content');
  $this
    ->executeMigrations([
    'block_content_type',
    'block_content_body_field',
  ]);
}