You are here

protected function UserTest::setUp in Social Auth 3.x

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

Overrides BrowserTestBase::setUp

File

tests/src/Functional/UserTest.php, line 52

Class

UserTest
Tests Social Auth user related tasks.

Namespace

Drupal\Tests\social_auth\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser();
  $this->userAuthenticator = \Drupal::getContainer()
    ->get('social_auth.user_authenticator');
  $this->entityTypeManager = \Drupal::entityTypeManager();
}