You are here

protected function PlanTestBase::getAdministratorPermissions in farmOS 2.x

Gets the permissions for the admin user.

Return value

string[] The permissions.

1 call to PlanTestBase::getAdministratorPermissions()
PlanTestBase::setUp in modules/core/plan/tests/src/Functional/PlanTestBase.php

File

modules/core/plan/tests/src/Functional/PlanTestBase.php, line 49

Class

PlanTestBase
Tests the plan CRUD.

Namespace

Drupal\Tests\plan\Functional

Code

protected function getAdministratorPermissions() {
  return [
    'access administration pages',
    'administer plans',
    'view any plan',
    'create default plan',
    'view any default plan',
    'update own default plan',
    'update any default plan',
    'delete own default plan',
    'delete any default plan',
  ];
}