protected function MigrateCustomBlockTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/block_content/src/Tests/Migrate/d7/MigrateCustomBlockTest.php \Drupal\block_content\Tests\Migrate\d7\MigrateCustomBlockTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ block_content/ src/ Tests/ Migrate/ d7/ MigrateCustomBlockTest.php, line 30 - Contains \Drupal\block_content\Tests\Migrate\d7\MigrateCustomBlockTest.
Class
- MigrateCustomBlockTest
- Tests migration of custom blocks.
Namespace
Drupal\block_content\Tests\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this
->installConfig(static::$modules);
$this
->installEntitySchema('block_content');
$this
->executeMigrations([
'd7_filter_format',
'block_content_type',
'block_content_body_field',
'd7_custom_block',
]);
}