public function CommentFieldInstanceTest::testMigration in Commerce Migrate 3.1.x
Same name and namespace in other branches
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentFieldInstanceTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\CommentFieldInstanceTest::testMigration()
- 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentFieldInstanceTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\CommentFieldInstanceTest::testMigration()
Tests the migrated fields.
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ CommentFieldInstanceTest.php, line 76
Class
- CommentFieldInstanceTest
- Tests the migration of comment field instances from Drupal 7.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7Code
public function testMigration() {
$this
->assertEntity('product', 'comment_node_product', 2, 1, 50, 0, FALSE, 1);
$this
->assertEntity('entertainment', 'comment_node_entertainment', 2, 1, 50, 0, FALSE, 1);
}