You are here

public function ModeratedContentLocalTaskTest::setUp in Drupal 9

Overrides BrowserTestBase::setUp

File

core/modules/content_moderation/tests/src/Functional/ModeratedContentLocalTaskTest.php, line 38

Class

ModeratedContentLocalTaskTest
Tests moderated content dynamic local task.

Namespace

Drupal\Tests\content_moderation\Functional

Code

public function setUp() : void {
  parent::setUp();
  $this
    ->drupalPlaceBlock('local_tasks_block');
  $this->adminUser = $this
    ->drupalCreateUser([
    'access administration pages',
    'access content overview',
    'view any unpublished content',
  ]);
}