You are here

public property ModerationDashboardTestBase::$userPermissions in Moderation Dashboard 2.0.x

Same name and namespace in other branches
  1. 8 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',
];