From 9bd7985ba41b385c63213970b862ffc06f1096b0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 6 Dec 2015 00:00:09 -0500 Subject: Add more unit tests --- app/Auth/GithubAuth.php | 4 ++-- app/Auth/GitlabAuth.php | 4 ++-- app/Auth/GoogleAuth.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app/Auth') diff --git a/app/Auth/GithubAuth.php b/app/Auth/GithubAuth.php index a03c7158..606ab301 100644 --- a/app/Auth/GithubAuth.php +++ b/app/Auth/GithubAuth.php @@ -116,10 +116,10 @@ class GithubAuth extends Base implements OAuthAuthenticationProviderInterface /** * Get Github profile * - * @access private + * @access public * @return array */ - private function getProfile() + public function getProfile() { $this->getService()->getAccessToken($this->code); diff --git a/app/Auth/GitlabAuth.php b/app/Auth/GitlabAuth.php index 9e1ac4ef..084e8ab9 100644 --- a/app/Auth/GitlabAuth.php +++ b/app/Auth/GitlabAuth.php @@ -116,10 +116,10 @@ class GitlabAuth extends Base implements OAuthAuthenticationProviderInterface /** * Get Gitlab profile * - * @access private + * @access public * @return array */ - private function getProfile() + public function getProfile() { $this->getService()->getAccessToken($this->code); diff --git a/app/Auth/GoogleAuth.php b/app/Auth/GoogleAuth.php index c4acfa0f..2a1f1b46 100644 --- a/app/Auth/GoogleAuth.php +++ b/app/Auth/GoogleAuth.php @@ -116,10 +116,10 @@ class GoogleAuth extends Base implements OAuthAuthenticationProviderInterface /** * Get Google profile * - * @access private + * @access public * @return array */ - private function getProfile() + public function getProfile() { $this->getService()->getAccessToken($this->code); -- cgit v1.2.3