You are here

protected function LearningPathWebDriverTestBase::getGlobalPermissions in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x tests/src/FunctionalJavascript/LearningPathWebDriverTestBase.php \Drupal\Tests\opigno_learning_path\FunctionalJavascript\LearningPathWebDriverTestBase::getGlobalPermissions()

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

Return value

string[] The permissions.

1 call to LearningPathWebDriverTestBase::getGlobalPermissions()
LearningPathWebDriverTestBase::setUp in tests/src/FunctionalJavascript/LearningPathWebDriverTestBase.php

File

tests/src/FunctionalJavascript/LearningPathWebDriverTestBase.php, line 72

Class

LearningPathWebDriverTestBase
Provides a base class for Learning path group functional tests.

Namespace

Drupal\Tests\opigno_learning_path\FunctionalJavascript

Code

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