function MigrateCommentEntityFormDisplaySubjectTest::testMigration
Same name in this branch
- 10 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplaySubjectTest::testMigration()
Same name in other branches
- 9 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplaySubjectTest::testMigration()
- 9 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplaySubjectTest::testMigration()
- 8.9.x core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplaySubjectTest::testMigration()
- 8.9.x core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplaySubjectTest::testMigration()
- 11.x core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplaySubjectTest::testMigration()
- 11.x core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplaySubjectTest::testMigration()
Tests the migrated display configuration.
File
-
core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentEntityFormDisplaySubjectTest.php, line 63
Class
- MigrateCommentEntityFormDisplaySubjectTest
- Tests the migration of comment form's subject display from Drupal 7.
Namespace
Drupal\Tests\comment\Kernel\Migrate\d7Code
public function testMigration() : void {
$this->assertSubjectVisible('comment.comment_node_page.default');
$this->assertSubjectVisible('comment.comment_node_article.default');
$this->assertSubjectVisible('comment.comment_node_book.default');
$this->assertSubjectVisible('comment.comment_node_blog.default');
$this->assertSubjectVisible('comment.comment_forum.default');
$this->assertSubjectNotVisible('comment.comment_node_test_content_type.default');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.