protected function GroupTypeTest::setUp in Group 8
Same name and namespace in other branches
- 2.0.x tests/src/Kernel/GroupTypeTest.php \Drupal\Tests\group\Kernel\GroupTypeTest::setUp()
Overrides GroupKernelTestBase::setUp
File
- tests/
src/ Kernel/ GroupTypeTest.php, line 27
Class
- GroupTypeTest
- Tests the general behavior of group type entities.
Namespace
Drupal\Tests\group\KernelCode
protected function setUp() {
parent::setUp();
$this->groupType = $this->entityTypeManager
->getStorage('group_type')
->load('default');
}