You are here

protected function LearningPathBrowserTestBase::getGlobalPermissions in Opigno Learning path 3.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/LearningPathBrowserTestBase.php \Drupal\Tests\opigno_learning_path\Functional\LearningPathBrowserTestBase::getGlobalPermissions()

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

Return value

string[] The permissions.

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

File

tests/src/Functional/LearningPathBrowserTestBase.php, line 74

Class

LearningPathBrowserTestBase
Provides a base class for Learning path group functional javascript tests.

Namespace

Drupal\Tests\opigno_learning_path\Functional

Code

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