You are here

protected function ContentModerationWorkbenchEmailTest::getAdminPermissions in Workbench Email 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/ContentModerationWorkbenchEmailTest.php \Drupal\Tests\workbench_email\Functional\ContentModerationWorkbenchEmailTest::getAdminPermissions()

Gets permisisons for admin user.

Return value

array Permission names.

Overrides WorkbenchEmailTestBase::getAdminPermissions

File

tests/src/Functional/ContentModerationWorkbenchEmailTest.php, line 159

Class

ContentModerationWorkbenchEmailTest
Defines a class for testing workbench email with content moderation.

Namespace

Drupal\Tests\workbench_email\Functional

Code

protected function getAdminPermissions() {
  return [
    'administer workflows',
    'administer workbench_email templates',
    'access administration pages',
  ];
}