You are here

protected function OpignoILTBrowserTestBase::getGlobalPermissions in Opigno Instructor-led Trainings 3.x

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

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

Return value

string[] The permissions.

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

File

tests/src/Functional/OpignoILTBrowserTestBase.php, line 71

Class

OpignoILTBrowserTestBase
Provides a base class for Opigno ILT tests.

Namespace

Drupal\Tests\opigno_ilt\Functional

Code

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