function TranslatorJavascriptTest::setUp in Translation Management Tool 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ TranslatorJavascriptTest.php, line 38
Class
- TranslatorJavascriptTest
- Verifies functionality of translator handling.
Namespace
Drupal\Tests\tmgmt\FunctionalJavascriptCode
function setUp() : void {
parent::setUp();
// Login as admin to be able to set environment variables.
$this
->loginAsAdmin();
$this
->addLanguage('de');
$this
->addLanguage('es');
$this
->addLanguage('el');
// Login as translation administrator to run these tests.
$this
->loginAsTranslator(array(
'administer tmgmt',
), TRUE);
}