function LocaleImportFunctionalTest::setUp
Same name in other branches
- 9 core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php \Drupal\Tests\locale\Functional\LocaleImportFunctionalTest::setUp()
- 8.9.x core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php \Drupal\Tests\locale\Functional\LocaleImportFunctionalTest::setUp()
- 10 core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php \Drupal\Tests\locale\Functional\LocaleImportFunctionalTest::setUp()
- 11.x core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php \Drupal\Tests\locale\Functional\LocaleImportFunctionalTest::setUp()
Overrides DrupalWebTestCase::setUp
File
-
modules/
locale/ locale.test, line 916
Class
- LocaleImportFunctionalTest
- Functional tests for the import of translation files.
Code
function setUp() {
parent::setUp('locale', 'locale_test');
$this->admin_user = $this->drupalCreateUser(array(
'administer languages',
'translate interface',
'access administration pages',
));
$this->drupalLogin($this->admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.