protected function GroupRoleStorageTest::setUp in Group 8
Same name and namespace in other branches
- 2.0.x tests/src/Kernel/GroupRoleStorageTest.php \Drupal\Tests\group\Kernel\GroupRoleStorageTest::setUp()
Overrides GroupKernelTestBase::setUp
File
- tests/
src/ Kernel/ GroupRoleStorageTest.php, line 47
Class
- GroupRoleStorageTest
- Tests the behavior of group role storage handler.
Namespace
Drupal\Tests\group\KernelCode
protected function setUp() {
parent::setUp();
$this->storage = $this->entityTypeManager
->getStorage('group_role');
$this->group = $this
->createGroup();
$this->account = $this
->createUser();
$this->groupRoleSynchronizer = $this->container
->get('group_role.synchronizer');
}