You are here

protected function CommentEntityFormDisplaySubjectTest::setUp in Commerce Migrate 3.1.x

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

Overrides MigrateDrupal7TestBase::setUp

File

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

Class

CommentEntityFormDisplaySubjectTest
Tests the migration of comment form's subject display from Drupal 7.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

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