You are here

public function SourceTestBase::setUp in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/SourceTestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Plugin\migrate\source\commerce1\SourceTestBase::setUp()
  2. 3.0.x modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/SourceTestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Plugin\migrate\source\commerce1\SourceTestBase::setUp()

Overrides MigrateSourceTestBase::setUp

File

modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/SourceTestBase.php, line 34

Class

SourceTestBase
Tests Commerce 1 product display source plugin.

Namespace

Drupal\Tests\commerce_migrate_commerce\Kernel\Plugin\migrate\source\commerce1

Code

public function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('commerce_store');
  $this
    ->createDefaultStore();
}