You are here

protected function ContentTranslationTest::setUp in Thunder 8.4

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/Integration/ContentTranslationTest.php \Drupal\Tests\thunder\Functional\Integration\ContentTranslationTest::setUp()
  2. 8.3 tests/src/Functional/Integration/ContentTranslationTest.php \Drupal\Tests\thunder\Functional\Integration\ContentTranslationTest::setUp()
  3. 6.2.x tests/src/Functional/Integration/ContentTranslationTest.php \Drupal\Tests\thunder\Functional\Integration\ContentTranslationTest::setUp()
  4. 6.0.x tests/src/Functional/Integration/ContentTranslationTest.php \Drupal\Tests\thunder\Functional\Integration\ContentTranslationTest::setUp()
  5. 6.1.x tests/src/Functional/Integration/ContentTranslationTest.php \Drupal\Tests\thunder\Functional\Integration\ContentTranslationTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/Functional/Integration/ContentTranslationTest.php, line 35

Class

ContentTranslationTest
Tests integration with the content_translation.

Namespace

Drupal\Tests\thunder\Functional\Integration

Code

protected function setUp() {
  parent::setUp();
  $this->languages['en'] = ConfigurableLanguage::createFromLangcode('en');
  $this->languages['de'] = ConfigurableLanguage::createFromLangcode('de');
  $this->languages['de']
    ->save();
}