You are here

protected function LibraryInclusionTranslationTest::setUp in Lightning Media 8.3

Same name in this branch
  1. 8.3 modules/lightning_media_image/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_image\Kernel\LibraryInclusionTranslationTest::setUp()
  2. 8.3 modules/lightning_media_audio/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_audio\Kernel\LibraryInclusionTranslationTest::setUp()
  3. 8.3 modules/lightning_media_twitter/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_twitter\Kernel\LibraryInclusionTranslationTest::setUp()
  4. 8.3 modules/lightning_media_video/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_video\Kernel\LibraryInclusionTranslationTest::setUp()
Same name and namespace in other branches
  1. 8.4 modules/lightning_media_audio/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_audio\Kernel\LibraryInclusionTranslationTest::setUp()

Overrides KernelTestBase::setUp

File

modules/lightning_media_audio/tests/src/Kernel/LibraryInclusionTranslationTest.php, line 24

Class

LibraryInclusionTranslationTest
@group lightning_media @group lightning_media_audio

Namespace

Drupal\Tests\lightning_media_audio\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this->container
    ->get('module_installer')
    ->install([
    'content_translation',
    'lightning_media_audio',
  ]);
  ConfigurableLanguage::createFromLangcode('hu')
    ->save();
}