You are here

public function CommentEntityDisplayTest::testMigration in Commerce Migrate 8.2

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

Tests the migrated display configuration.

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentEntityDisplayTest.php, line 57

Class

CommentEntityDisplayTest
Tests the migration of comment entity displays from Drupal 7.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

public function testMigration() {
  $this
    ->assertDisplay('commerce_product.product.default', 'comment_node_product');
  $this
    ->assertDisplay('commerce_product.entertainment.default', 'comment_node_entertainment');
}