public function MigrateCommentEntityDisplayTest::testMigration in Drupal 8
Same name in this branch
- 8 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityDisplayTest::testMigration()
- 8 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityDisplayTest::testMigration()
Same name and namespace in other branches
- 9 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityDisplayTest::testMigration()
- 10 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityDisplayTest::testMigration()
Tests the migrated display configuration.
File
- core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentEntityDisplayTest.php, line 54
Class
- MigrateCommentEntityDisplayTest
- Tests the migration of comment entity displays from Drupal 7.
Namespace
Drupal\Tests\comment\Kernel\Migrate\d7Code
public function testMigration() {
$this
->assertDisplay('node.page.default', 'comment_node_page');
$this
->assertDisplay('node.article.default', 'comment_node_article');
$this
->assertDisplay('node.book.default', 'comment_node_book');
$this
->assertDisplay('node.blog.default', 'comment_node_blog');
$this
->assertDisplay('node.forum.default', 'comment_forum');
$this
->assertDisplay('node.test_content_type.default', 'comment_node_test_content_type');
}