You are here

public function MigrateCommentEntityFormDisplayTest::testMigration in Zircon Profile 8

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

Tests the migrated display configuration.

File

core/modules/comment/src/Tests/Migrate/d7/MigrateCommentEntityFormDisplayTest.php, line 55
Contains \Drupal\comment\Tests\Migrate\d7\MigrateCommentEntityFormDisplayTest.

Class

MigrateCommentEntityFormDisplayTest
Tests migration of comment form display configuration.

Namespace

Drupal\comment\Tests\Migrate\d7

Code

public function testMigration() {
  $this
    ->assertDisplay('node.page.default', 'comment');
  $this
    ->assertDisplay('node.article.default', 'comment');
  $this
    ->assertDisplay('node.book.default', 'comment');
  $this
    ->assertDisplay('node.blog.default', 'comment');
  $this
    ->assertDisplay('node.forum.default', 'comment');
  $this
    ->assertDisplay('node.test_content_type.default', 'comment');
}