You are here

protected function LanguageLocaleListTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/tests/src/Functional/LanguageLocaleListTest.php \Drupal\Tests\language\Functional\LanguageLocaleListTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/language/tests/src/Functional/LanguageLocaleListTest.php, line 30

Class

LanguageLocaleListTest
Adds a new language with translations and tests language list order.

Namespace

Drupal\Tests\language\Functional

Code

protected function setUp() {
  parent::setUp();

  // Add a default locale storage for all these tests.
  $this->storage = $this->container
    ->get('locale.storage');
}