function MigrateBlockContentEntityDisplayTest::testMigration

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

Tests the migrated display configuration.

File

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

Class

MigrateBlockContentEntityDisplayTest
Tests migration of block content body field display configuration.

Namespace

Drupal\Tests\block_content\Kernel\Migrate

Code

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

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