You are here

protected function MigrateCustomBlockContentTranslationTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php \Drupal\Tests\block_content\Kernel\Migrate\d6\MigrateCustomBlockContentTranslationTest::setUp()
  2. 10 core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockContentTranslationTest.php \Drupal\Tests\block_content\Kernel\Migrate\d7\MigrateCustomBlockContentTranslationTest::setUp()
Same name and namespace in other branches
  1. 8 core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php \Drupal\Tests\block_content\Kernel\Migrate\d6\MigrateCustomBlockContentTranslationTest::setUp()
  2. 9 core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php \Drupal\Tests\block_content\Kernel\Migrate\d6\MigrateCustomBlockContentTranslationTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateCustomBlockContentTranslationTest.php, line 27

Class

MigrateCustomBlockContentTranslationTest
Tests migration of i18n custom block strings.

Namespace

Drupal\Tests\block_content\Kernel\Migrate\d6

Code

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