Fix tests and improve code coverate

This commit is contained in:
Alex Bilbie
2016-04-10 15:58:01 +01:00
parent 7a6d9a4510
commit 5969082963
10 changed files with 212 additions and 54 deletions

View File

@@ -12,6 +12,7 @@ trait ClientTrait
* Get the client's name.
*
* @return string
* @codeCoverageIgnore
*/
public function getName()
{

View File

@@ -119,6 +119,8 @@ class OAuthServerException extends \Exception
* @param $hint
*
* @return static
*
* @codeCoverageIgnore
*/
public static function serverError($hint)
{

View File

@@ -234,6 +234,7 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
]
)
);
$redirectPayload['state'] = $authorizationRequest->getState();
$response = new RedirectResponse();
$response->setRedirectUri(

View File

@@ -26,6 +26,7 @@ class RequestEvent extends Event
/**
* @return ServerRequestInterface
* @codeCoverageIgnore
*/
public function getRequest()
{