public function CommentTypeTest::testMigration in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentTypeTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\CommentTypeTest::testMigration()
- 3.1.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\uc7Code
public function testMigration() {
$this
->assertEntity('comment_node_product', 'Product comment');
$this
->assertEntity('comment_node_entertainment', 'Entertainment comment');
}