Skip to content

Commit 29828f8

Browse files
committed
CS fixes
1 parent e2f65ed commit 29828f8

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

tests/functional/bootstrap/FeatureContext.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public function down()
3131
{
3232
$this->resetMigrations();
3333
}
34+
3435
/**
3536
* @Given /^An authorization server exists that supports the "([^"]*)" grant type$/
3637
*/

tests/unit/LucaDegasperi/OAuth2Server/AuthorizerSpec.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use League\OAuth2\Server\Entity\SessionEntity;
1818
use League\OAuth2\Server\Grant\AuthCodeGrant;
1919
use League\OAuth2\Server\ResourceServer;
20-
use League\OAuth2\Server\TokenType\TokenTypeInterface;
2120
use League\OAuth2\Server\Util\RedirectUri;
2221
use PhpSpec\ObjectBehavior;
2322
use Symfony\Component\HttpFoundation\Request;
@@ -28,6 +27,7 @@ public function let(AuthorizationServer $issuer, ResourceServer $checker)
2827
{
2928
$this->beConstructedWith($issuer, $checker);
3029
}
30+
3131
public function it_is_initializable()
3232
{
3333
$this->shouldHaveType('LucaDegasperi\OAuth2Server\Authorizer');
@@ -161,12 +161,4 @@ public function it_sets_a_redirect_uri_generator(RedirectUri $redirectUri)
161161

162162
$this->getRedirectUriGenerator()->shouldReturn($redirectUri);
163163
}
164-
165-
/*function it_sets_a_custom_token_type(AuthorizationServer $issuer, ResourceServer $checker, TokenTypeInterface $tokenType)
166-
{
167-
$issuer->setTokenType($tokenType)->shouldBeCalled();
168-
$checker->setTokenType($tokenType)->shouldBeCalled();
169-
170-
$this->setTokenType($tokenType);
171-
}*/
172164
}

0 commit comments

Comments
 (0)