protected function GoogleAuthManagerTest::setClient in Social Auth Google 8
Sets \Google_Client object to GoogleAuthManager.
Return value
\Drupal\social_auth_google\GoogleAuthManager setClient() returns $this, the GoogleAuthManager object.
2 calls to GoogleAuthManagerTest::setClient()
- GoogleAuthManagerTest::testGetGoogleClient in tests/
src/ Unit/ GoogleAuthManagerTest.php - Tests get Google_Client object.
- GoogleAuthManagerTest::testSetGoogleClient in tests/
src/ Unit/ GoogleAuthManagerTest.php - Tests set Google_Client object.
File
- tests/
src/ Unit/ GoogleAuthManagerTest.php, line 87
Class
- GoogleAuthManagerTest
- @coversDefaultClass Drupal\social_auth_google\GoogleAuthManager @group social_auth_google
Namespace
Drupal\Tests\social_auth_google\UnitCode
protected function setClient() {
return $this->googleManager
->setClient($this->client);
}