function MigrateCommentEntityFormDisplayTest::testMigration

Same name in this branch
  1. 10 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplayTest::testMigration()
Same name in other branches
  1. 9 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplayTest::testMigration()
  2. 9 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplayTest::testMigration()
  3. 8.9.x core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplayTest::testMigration()
  4. 8.9.x core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentEntityFormDisplayTest::testMigration()
  5. 11.x core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentEntityFormDisplayTest::testMigration()
  6. 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/d6/MigrateCommentEntityFormDisplayTest.php, line 58

Class

MigrateCommentEntityFormDisplayTest
Tests the migration of comment form display from Drupal 6.

Namespace

Drupal\Tests\comment\Kernel\Migrate\d6

Code

public function testMigration() : void {
    $this->assertDisplay('node.article.default', 'comment_node_article');
    $this->assertDisplay('node.company.default', 'comment_node_company');
    $this->assertDisplay('node.employee.default', 'comment_node_employee');
    $this->assertDisplay('node.event.default', 'comment_node_event');
    $this->assertDisplay('node.forum.default', 'comment_forum');
    $this->assertDisplay('node.page.default', 'comment_node_page');
    $this->assertDisplay('node.sponsor.default', 'comment_node_sponsor');
    $this->assertDisplay('node.story.default', 'comment_node_story');
    $this->assertDisplay('node.test_event.default', 'comment_node_test_event');
    $this->assertDisplay('node.test_page.default', 'comment_node_test_page');
    $this->assertDisplay('node.test_planet.default', 'comment_node_test_planet');
    $this->assertDisplay('node.test_story.default', 'comment_node_test_story');
}

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