Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnCa-X committed Dec 20, 2020
1 parent a3b6657 commit cfedaa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests/InstanceTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class InstanceTest extends Tester\TestCase

public function testFacebookLoginUrl()
{
$this->socialLogin->facebook->setScope( ['email'] );
$this->socialLogin->facebook->setScope(['email']);
$this->socialLogin->facebook->setState('https://www.mypage.cz/sign/facebook');

$url = $this->socialLogin->facebook->getLoginUrl();
Expand All @@ -55,7 +55,7 @@ class InstanceTest extends Tester\TestCase

public function testGoogleLoginUrl()
{
$this->socialLogin->google->setScope( array( "https://www.googleapis.com/auth/plus.me", "https://www.googleapis.com/auth/userinfo.email" ) );
$this->socialLogin->google->setScope(['https://www.googleapis.com/auth/plus.me', 'https://www.googleapis.com/auth/userinfo.email']);
$this->socialLogin->google->setState('https://www.mypage.cz/sign/google');

$url = $this->socialLogin->google->getLoginUrl();
Expand Down

0 comments on commit cfedaa4

Please sign in to comment.