You are here

protected function MigrateBlockContentEntityDisplayTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityDisplayTest.php \Drupal\Tests\block_content\Kernel\Migrate\MigrateBlockContentEntityDisplayTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityDisplayTest.php, line 23

Class

MigrateBlockContentEntityDisplayTest
Tests migration of block content body field display configuration.

Namespace

Drupal\Tests\block_content\Kernel\Migrate

Code

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