You are here

public function CommentTypeTest::testMigration in Commerce Migrate 3.1.x

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

Tests the migrated comment types.

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentTypeTest.php, line 48

Class

CommentTypeTest
Tests the migration of product comment types from Ubercart 7.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

public function testMigration() {
  $this
    ->assertEntity('comment_node_product', 'Product comment');
  $this
    ->assertEntity('comment_node_entertainment', 'Entertainment comment');
}