function MigrateCommentEntityFormDisplayTest::testMigration
Same name in this branch
- 10 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplayTest::testMigration()
Same name in other branches
- 9 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplayTest::testMigration()
- 9 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplayTest::testMigration()
- 8.9.x core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplayTest::testMigration()
- 8.9.x core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplayTest::testMigration()
- 11.x core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplayTest::testMigration()
- 11.x core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplayTest::testMigration()
Tests the migrated display configuration.
File
-
core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentEntityFormDisplayTest.php, line 57
Class
- MigrateCommentEntityFormDisplayTest
- Tests the migration of comment form display from Drupal 7.
Namespace
Drupal\Tests\comment\Kernel\Migrate\d7Code
public function testMigration() : void {
$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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.