You are here

public function MigrateBlockContentEntityFormDisplayTest::testMigration in Drupal 9

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

Tests the migrated display configuration.

File

core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityFormDisplayTest.php, line 51

Class

MigrateBlockContentEntityFormDisplayTest
Tests migration of block content body field form display configuration.

Namespace

Drupal\Tests\block_content\Kernel\Migrate

Code

public function testMigration() {
  $this
    ->assertDisplay('block_content.basic.default', 'body');
}