You are here

public function MigrateCommentEntityFormDisplaySubjectTest::testMigration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Tests/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php \Drupal\comment\Tests\Migrate\d7\MigrateCommentEntityFormDisplaySubjectTest::testMigration()

Tests the migrated display configuration.

File

core/modules/comment/src/Tests/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php, line 51
Contains \Drupal\comment\Tests\Migrate\d7\MigrateCommentEntityFormDisplaySubjectTest.

Class

MigrateCommentEntityFormDisplaySubjectTest
Tests migration of comment form's subject display configuration.

Namespace

Drupal\comment\Tests\Migrate\d7

Code

public function testMigration() {
  $this
    ->assertDisplay('comment.comment_node_page.default');
  $this
    ->assertDisplay('comment.comment_node_article.default');
  $this
    ->assertDisplay('comment.comment_node_book.default');
  $this
    ->assertDisplay('comment.comment_node_blog.default');
  $this
    ->assertDisplay('comment.comment_node_forum.default');
  $this
    ->assertDisplay('comment.comment_node_test_content_type.default');
}