protected function LocaleLocaleLookupTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php \Drupal\Tests\locale\Functional\LocaleLocaleLookupTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ locale/ tests/ src/ Functional/ LocaleLocaleLookupTest.php, line 31
Class
- LocaleLocaleLookupTest
- Tests LocaleLookup.
Namespace
Drupal\Tests\locale\FunctionalCode
protected function setUp() {
parent::setUp();
// Change the language default object to different values.
ConfigurableLanguage::createFromLangcode('fr')
->save();
$this
->config('system.site')
->set('default_langcode', 'fr')
->save();
$this
->drupalLogin($this->rootUser);
}