You are here

protected function EntityShareServerFunctionalTestBase::setUp in Entity Share 8.3

Same name and namespace in other branches
  1. 8.2 modules/entity_share_server/tests/src/Functional/EntityShareServerFunctionalTestBase.php \Drupal\Tests\entity_share_server\Functional\EntityShareServerFunctionalTestBase::setUp()

Overrides BrowserTestBase::setUp

File

modules/entity_share_server/tests/src/Functional/EntityShareServerFunctionalTestBase.php, line 56

Class

EntityShareServerFunctionalTestBase
Base class for Entity Share Server functional tests.

Namespace

Drupal\Tests\entity_share_server\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser($this
    ->getAdministratorPermissions());
  $this->channelUser = $this
    ->drupalCreateUser($this
    ->getChannelUserPermissions());
  $this->entityTypeManager = $this->container
    ->get('entity_type.manager');
}