You are here

protected function PromotionCartTest::setUp in Commerce Core 8.2

Overrides CartKernelTestBase::setUp

File

modules/promotion/tests/src/Kernel/PromotionCartTest.php, line 31

Class

PromotionCartTest
Tests the integration between promotions and carts.

Namespace

Drupal\Tests\commerce_promotion\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_promotion');
  $this
    ->installConfig([
    'commerce_promotion',
  ]);
  $this
    ->installSchema('commerce_promotion', [
    'commerce_promotion_usage',
  ]);
}