function ContentTranslationNewTranslationWithExistingRevisionsTest::setUp

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

Overrides ContentTranslationPendingRevisionTestBase::setUp

File

core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php, line 36

Class

ContentTranslationNewTranslationWithExistingRevisionsTest
Tests that new translations do not delete existing ones.

Namespace

Drupal\Tests\content_translation\Functional

Code

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

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