You are here

public function CommentEntityFormDisplayTest::testMigration in Commerce Migrate 3.0.x

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

Tests the migrated display configuration.

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentEntityFormDisplayTest.php, line 56

Class

CommentEntityFormDisplayTest
Tests the migration of comment form display 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');
}