You are here

protected function OpignoILTBrowserTestBase::getGlobalPermissions in Opigno Instructor-led Trainings 8

Same name and namespace in other branches
  1. 3.x 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 69

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',
  ];
}