You are here

public function CommentEntityFormDisplaySubjectTest::testMigration in Commerce Migrate 8.2

Same name and namespace in other branches
  1. 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentEntityFormDisplaySubjectTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\CommentEntityFormDisplaySubjectTest::testMigration()
  2. 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentEntityFormDisplaySubjectTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\CommentEntityFormDisplaySubjectTest::testMigration()

Tests the migrated display configuration.

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentEntityFormDisplaySubjectTest.php, line 68

Class

CommentEntityFormDisplaySubjectTest
Tests the migration of comment form's subject display from Drupal 7.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

public function testMigration() {
  $this
    ->assertSubjectVisible('comment.comment_node_product.default');
  $this
    ->assertSubjectVisible('comment.comment_node_entertainment.default');
}