You are here

public property ModerationDashboardTestBase::$userPermissions in Moderation Dashboard 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/ModerationDashboardTestBase.php \Drupal\Tests\moderation_dashboard\Functional\ModerationDashboardTestBase::userPermissions

Permissions of the test user.

Type: string[]

File

tests/src/Functional/ModerationDashboardTestBase.php, line 30

Class

ModerationDashboardTestBase
Defines a base class for testing Moderation Dashboard module.

Namespace

Drupal\Tests\moderation_dashboard\Functional

Code

public $userPermissions = [
  'access content',
  'use moderation dashboard',
  'view all revisions',
  'view any moderation dashboard',
];