You are here

protected function ContentLanguageAccessTestBase::configureLanguages in Content Language Access 8

Creates the languages for the test execution.

1 call to ContentLanguageAccessTestBase::configureLanguages()
ContentLanguageAccessTestBase::setUp in src/Tests/ContentLanguageAccessTestBase.php
Implements setUp().

File

src/Tests/ContentLanguageAccessTestBase.php, line 86

Class

ContentLanguageAccessTestBase
Test the features of content_language_access module.

Namespace

Drupal\content_language_access\Tests

Code

protected function configureLanguages() {
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->addLanguage('aaa');
  $this
    ->addLanguage('bbb');
  Drupal::languageManager()
    ->reset();
}