protected function GroupQueryAccessHandlerTest::setUp in Group 8
Same name and namespace in other branches
- 2.0.x tests/src/Kernel/GroupQueryAccessHandlerTest.php \Drupal\Tests\group\Kernel\GroupQueryAccessHandlerTest::setUp()
Overrides GroupKernelTestBase::setUp
File
- tests/
src/ Kernel/ GroupQueryAccessHandlerTest.php, line 28
Class
- GroupQueryAccessHandlerTest
- Tests the behavior of group query access handler.
Namespace
Drupal\Tests\group\KernelCode
protected function setUp() {
parent::setUp();
$entity_type = $this->entityTypeManager
->getDefinition('group');
$this->handler = GroupQueryAccessHandler::createInstance($this->container, $entity_type);
}