Overrides DrupalWebTestCase::setUp()
Overrides TMGMTTestBase::setUp
function setUp() : void {
parent::setUp();
$this->langcode = 'de';
$this->context = 'default';
$file = new \stdClass();
$npath = \Drupal::service('extension.list.module')
->getPath('tmgmt_locale');
$file->uri = \Drupal::service('file_system')
->realpath($npath . '/tests/test.xx.po');
$file->langcode = $this->langcode;
Gettext::fileToDatabase($file, array());
$this
->addLanguage($this->langcode);
$this
->addLanguage('gsw-berne');
}