function ContentTranslationOutdatedRevisionTranslationTest::setUp

Same name in other branches
  1. 9 core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::setUp()
  2. 10 core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::setUp()
  3. 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationOutdatedRevisionTranslationTest::setUp()

Overrides ContentTranslationPendingRevisionTestBase::setUp

File

core/modules/content_translation/tests/src/Functional/ContentTranslationOutdatedRevisionTranslationTest.php, line 23

Class

ContentTranslationOutdatedRevisionTranslationTest
Tests the "Flag as outdated" functionality with revision translations.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function setUp() {
    parent::setUp();
    $this->enableContentModeration();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.