function LocaleTranslationTest::setUp

Same name in this branch
  1. 11.x core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::setUp()
Same name and namespace in other branches
  1. 9 core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::setUp()
  2. 8.9.x core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::setUp()
  3. 10 core/modules/locale/tests/src/Unit/LocaleTranslationTest.php \Drupal\Tests\locale\Unit\LocaleTranslationTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/locale/tests/src/Kernel/LocaleTranslationTest.php, line 26

Class

LocaleTranslationTest
@coversDefaultClass \Drupal\locale\LocaleTranslation[[api-linebreak]] @group locale

Namespace

Drupal\Tests\locale\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->installSchema('locale', [
    'locales_location',
    'locales_source',
    'locales_target',
  ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.