public function GoogleAuthManagerTest::testGetGoogleClient in Social Auth Google 8
Tests get Google_Client object.
@covers ::getClient @covers ::saveAccessToken @covers ::createService
File
- tests/
src/ Unit/ GoogleAuthManagerTest.php, line 76
Class
- GoogleAuthManagerTest
- @coversDefaultClass Drupal\social_auth_google\GoogleAuthManager @group social_auth_google
Namespace
Drupal\Tests\social_auth_google\UnitCode
public function testGetGoogleClient() {
$this
->setClient();
$this
->assertInstanceOf('Google_Client', $this->googleManager
->getClient());
}