You are here

protected function GroupBrowserTestBase::setUp in Group 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/GroupBrowserTestBase.php \Drupal\Tests\group\Functional\GroupBrowserTestBase::setUp()

Overrides BrowserTestBase::setUp

1 call to GroupBrowserTestBase::setUp()
GroupTypeFormTest::setUp in tests/src/Functional/GroupTypeFormTest.php
1 method overrides GroupBrowserTestBase::setUp()
GroupTypeFormTest::setUp in tests/src/Functional/GroupTypeFormTest.php

File

tests/src/Functional/GroupBrowserTestBase.php, line 39

Class

GroupBrowserTestBase
Provides a base class for Group functional tests.

Namespace

Drupal\Tests\group\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->entityTypeManager = $this->container
    ->get('entity_type.manager');
  $this->groupCreator = $this
    ->drupalCreateUser($this
    ->getGlobalPermissions());
  $this
    ->drupalLogin($this->groupCreator);
}