You are here

protected function BlockContentTranslationUITest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::setUp()
  2. 10 core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php \Drupal\Tests\block_content\Functional\BlockContentTranslationUITest::setUp()

Overrides ContentTranslationTestBase::setUp

File

core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php, line 49

Class

BlockContentTranslationUITest
Tests the block content translation UI.

Namespace

Drupal\Tests\block_content\Functional

Code

protected function setUp() : void {
  $this->entityTypeId = 'block_content';
  $this->bundle = 'basic';
  $this->testLanguageSelector = FALSE;
  parent::setUp();
  $this
    ->drupalPlaceBlock('page_title_block');
}