You are here

protected function LinkedinAuthManagerTest::setClient in Social Auth LinkedIn 8

Sets \LinkedIn\LinkedIn object to LinkedinAuthManager.

Return value

\Drupal\social_auth_linkedin\LinkedinAuthManager setClient() returns $this, the LinkedinAuthManager object.

1 call to LinkedinAuthManagerTest::setClient()
LinkedinAuthManagerTest::testSetLinkedinClient in tests/src/Unit/LinkedinAuthManagerTest.php
Tests set Google_Client object.

File

tests/src/Unit/LinkedinAuthManagerTest.php, line 74

Class

LinkedinAuthManagerTest
@coversDefaultClass Drupal\social_auth_linkedin\LinkedinAuthManager @group social_auth_linkedin

Namespace

Drupal\Tests\social_auth_linkedin\Unit

Code

protected function setClient() {
  return $this->linkedinManager
    ->setClient($this->client);
}