You are here

protected function NumberPatternKernelTestBase::setUp in Commerce Core 8.2

Overrides CommerceKernelTestBase::setUp

File

modules/number_pattern/tests/src/Kernel/NumberPatternKernelTestBase.php, line 35

Class

NumberPatternKernelTestBase
Provides a base class for number pattern kernel tests.

Namespace

Drupal\Tests\commerce_number_pattern\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'system',
  ]);
  $this
    ->installSchema('commerce_number_pattern', [
    'commerce_number_pattern_sequence',
  ]);
  $this
    ->installEntitySchema('entity_test_with_store');
  $this->pluginManager = $this->container
    ->get('plugin.manager.commerce_number_pattern');
}