You are here

public function OgRoleManagerTest::bundleRolesProvider in Organic groups 8

Provides test data to test bundle roles creation.

Return value

array Array with the OG Role machine names.

File

tests/src/Unit/OgRoleManagerTest.php, line 169

Class

OgRoleManagerTest
Tests create membership helper function.

Namespace

Drupal\Tests\og\Unit

Code

public function bundleRolesProvider() {
  return [
    [
      OgRoleInterface::ANONYMOUS,
    ],
    [
      OgRoleInterface::AUTHENTICATED,
    ],
  ];
}