You are here

public function TranslatorsContentIntegrationTest::setUp in Translation Views 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/TranslatorsContentIntegrationTest.php, line 58

Class

TranslatorsContentIntegrationTest
Class TranslatorsContentIntegrationTest.

Namespace

Drupal\Tests\translation_views\Functional

Code

public function setUp() {
  parent::setUp();
  $this
    ->drupalLogin($this->rootUser);
  $this->translatorSkills = $this->container
    ->get('translators.skills');
  $this
    ->createLanguages([
    'fr',
    'de',
    'sq',
  ]);
  $this
    ->enableTranslation('node', 'article');
  $this
    ->drupalLogout();
}