-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c98ca4
commit 3473596
Showing
9 changed files
with
44 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace KnpU\OAuth2ClientBundle\Tests\Client; | ||
namespace KnpU\OAuth2ClientBundle\tests\Client; | ||
|
||
use KnpU\OAuth2ClientBundle\Client\OAuth2Client; | ||
use League\OAuth2\Client\Provider\FacebookUser; | ||
|
@@ -92,7 +92,7 @@ public function testRedirectWithOptions() | |
|
||
$this->provider->getAuthorizationUrl([ | ||
'scope' => ['scopeA'], | ||
'optionA' => 'FOO' | ||
'optionA' => 'FOO', | ||
]) | ||
->willReturn('http://example.com'); | ||
|
||
|
@@ -169,7 +169,7 @@ public function testGetAccessTokenThrowsInvalidStateException() | |
|
||
/** | ||
* @expectedException \KnpU\OAuth2ClientBundle\Exception\MissingAuthorizationCodeException | ||
*/ | ||
*/ | ||
public function testGetAccessTokenThrowsMissingAuthCodeException() | ||
{ | ||
$this->request->query->set('state', 'ACTUAL_STATE'); | ||
|
@@ -205,7 +205,7 @@ public function testFetchUser() | |
'name' => 'testUser', | ||
'first_name' => 'John', | ||
'last_name' => 'Doe', | ||
'email' => '[email protected]' | ||
'email' => '[email protected]', | ||
]); | ||
|
||
$this->provider->getResourceOwner($actualToken)->willReturn($resourceOwner); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
tests/Security/Exception/FinishRegistrationExceptionTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
tests/Security/Exception/NoAuthCodeAuthenticationExceptionTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters