You are here

protected function GroupTypeTest::setUp in Group 8

Same name and namespace in other branches
  1. 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\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this->groupType = $this->entityTypeManager
    ->getStorage('group_type')
    ->load('default');
}