You are here

public function GroupContentPermissionProviderTest::buildPermissionsProvider in Group 8

Data provider for testBuildPermissions().

Return value

array A list of testBuildPermissions method arguments.

File

tests/src/Unit/GroupContentPermissionProviderTest.php, line 608

Class

GroupContentPermissionProviderTest
Tests the default GroupContentEnabler permission_provider handler.

Namespace

Drupal\Tests\group\Unit

Code

public function buildPermissionsProvider() {
  $cases = $this
    ->getPermissionProviderScenarios();
  foreach ($cases as &$case) {
    unset($case['expected']);
  }
  return $cases;
}