function ContentModerationWorkflowTypeTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php, line 33

Class

ContentModerationWorkflowTypeTest
Test the workflow type plugin in the content_moderation module.

Namespace

Drupal\Tests\content_moderation\Functional

Code

protected function setUp() {
  parent::setUp();
  $admin = $this->drupalCreateUser([
    'administer workflows',
  ]);
  $this->drupalLogin($admin);
}

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