You are here

protected function ChainGroupPermissionCalculatorTest::setUp in Group 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Kernel/ChainGroupPermissionCalculatorTest.php \Drupal\Tests\group\Kernel\ChainGroupPermissionCalculatorTest::setUp()

Overrides GroupKernelTestBase::setUp

File

tests/src/Kernel/ChainGroupPermissionCalculatorTest.php, line 42

Class

ChainGroupPermissionCalculatorTest
Tests the calculation of group permissions.

Namespace

Drupal\Tests\group\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->permissionCalculator = $this->container
    ->get('group_permission.chain_calculator');
  $this->roleSynchronizer = $this->container
    ->get('group_role.synchronizer');
}