function MigrateBlockContentTypeTest::setUp

Same name in other branches
  1. 8.9.x core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php \Drupal\Tests\block_content\Kernel\Migrate\MigrateBlockContentTypeTest::setUp()
  2. 10 core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php \Drupal\Tests\block_content\Kernel\Migrate\MigrateBlockContentTypeTest::setUp()
  3. 11.x core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php \Drupal\Tests\block_content\Kernel\Migrate\MigrateBlockContentTypeTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php, line 21

Class

MigrateBlockContentTypeTest
Tests migration of the basic block content type.

Namespace

Drupal\Tests\block_content\Kernel\Migrate

Code

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

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