You are here

protected function CommentFieldTest::setUp in Commerce Migrate 8.2

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

Overrides MigrateDrupal7TestBase::setUp

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/CommentFieldTest.php, line 31

Class

CommentFieldTest
Tests the migration of product comment fields from Ubercart 7.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_product');
  $this
    ->installConfig([
    'comment',
    'commerce_product',
  ]);
  $this
    ->executeMigrations([
    'uc7_comment_type',
    'uc7_product_type',
    'uc7_comment_field',
  ]);
}