protected function ChainGroupPermissionCalculatorTest::setUp in Group 2.0.x
Same name and namespace in other branches
- 8 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\KernelCode
protected function setUp() {
parent::setUp();
$this->permissionCalculator = $this->container
->get('group_permission.chain_calculator');
$this->roleSynchronizer = $this->container
->get('group_role.synchronizer');
}