protected function AdminPathEntityConverterLanguageTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php \Drupal\Tests\language\Functional\AdminPathEntityConverterLanguageTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ language/ tests/ src/ Functional/ AdminPathEntityConverterLanguageTest.php, line 22
Class
- AdminPathEntityConverterLanguageTest
- Test administration path based conversion of entities.
Namespace
Drupal\Tests\language\FunctionalCode
protected function setUp() {
parent::setUp();
$permissions = [
'access administration pages',
'administer site configuration',
];
$this
->drupalLogin($this
->drupalCreateUser($permissions));
ConfigurableLanguage::createFromLangcode('es')
->save();
}