You are here

protected function PromotionMultilingualTest::setUp in Commerce Core 8.2

Overrides OrderKernelTestBase::setUp

File

modules/promotion/tests/src/Kernel/PromotionMultilingualTest.php, line 30

Class

PromotionMultilingualTest
Tests promotions in a multilingual context.

Namespace

Drupal\Tests\commerce_promotion\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_promotion');
  ConfigurableLanguage::createFromLangcode('fr')
    ->save();
  ConfigurableLanguage::createFromLangcode('sr')
    ->save();
}