You are here

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

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

Overrides MigrateDrupal6TestBase::setUp

File

modules/ubercart/tests/src/Kernel/Migrate/uc6/LanguageContentSettingsTest.php, line 37

Class

LanguageContentSettingsTest
Tests migration of language content setting variables for node and products.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6

Code

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