You are here

protected function OpignoStatisticsBrowserTestBase::getGlobalPermissions in Opigno statistics 8

Same name and namespace in other branches
  1. 3.x tests/src/Functional/OpignoStatisticsBrowserTestBase.php \Drupal\Tests\opigno_statistics\Functional\OpignoStatisticsBrowserTestBase::getGlobalPermissions()

Gets the global (site) permissions for the group creator.

Return value

string[] The permissions.

1 call to OpignoStatisticsBrowserTestBase::getGlobalPermissions()
OpignoStatisticsBrowserTestBase::setUp in tests/src/Functional/OpignoStatisticsBrowserTestBase.php

File

tests/src/Functional/OpignoStatisticsBrowserTestBase.php, line 69

Class

OpignoStatisticsBrowserTestBase
Provides a base class for Opigno Statistics tests.

Namespace

Drupal\Tests\opigno_statistics\Functional

Code

protected function getGlobalPermissions() {
  return [
    'view the administration theme',
    'access administration pages',
    'create learning_path group',
  ];
}