public function MigrateCommentEntityDisplayTest::testMigration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/src/Tests/Migrate/d7/MigrateCommentEntityDisplayTest.php \Drupal\comment\Tests\Migrate\d7\MigrateCommentEntityDisplayTest::testMigration()
Tests the migrated display configuration.
File
- core/
modules/ comment/ src/ Tests/ Migrate/ d7/ MigrateCommentEntityDisplayTest.php, line 56 - Contains \Drupal\comment\Tests\Migrate\d7\MigrateCommentEntityDisplayTest.
Class
- MigrateCommentEntityDisplayTest
- Tests migration of comment display configuration.
Namespace
Drupal\comment\Tests\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_node_forum');
$this
->assertDisplay('node.test_content_type.default', 'comment_node_test_content_type');
}