You are here

protected function ChangeMultipleOgMembershipRolesActionTestBase::setUp in Organic groups 8

Overrides ActionTestBase::setUp

File

tests/src/Kernel/Action/ChangeMultipleOgMembershipRolesActionTestBase.php, line 29

Class

ChangeMultipleOgMembershipRolesActionTestBase
Base class for tests for plugins that change multiple roles at once.

Namespace

Drupal\Tests\og\Kernel\Action

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('system', [
    'key_value_expire',
  ]);
  $this->tempStorageFactory = $this->container
    ->get('tempstore.private');

  // Set up the group administrator as the user that will be logged in during
  // the tests.
  $this->testUser = $this->users['group_administrator'];
}