protected function PromotionTest::setUp in Commerce Core 8.2
Same name in this branch
- 8.2 modules/promotion/tests/src/FunctionalJavascript/PromotionTest.php \Drupal\Tests\commerce_promotion\FunctionalJavascript\PromotionTest::setUp()
- 8.2 modules/promotion/tests/src/Kernel/Entity/PromotionTest.php \Drupal\Tests\commerce_promotion\Kernel\Entity\PromotionTest::setUp()
Overrides OrderKernelTestBase::setUp
File
- modules/
promotion/ tests/ src/ Kernel/ Entity/ PromotionTest.php, line 35
Class
- PromotionTest
- Tests the Promotion entity.
Namespace
Drupal\Tests\commerce_promotion\Kernel\EntityCode
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('commerce_promotion');
$this
->installEntitySchema('commerce_promotion_coupon');
$this
->installSchema('commerce_promotion', [
'commerce_promotion_usage',
]);
$this
->installConfig([
'commerce_promotion',
]);
}