Unifies how we fetch the client_id from the request and allows us to throw a more appropriate exception when the client_id parameter is missing.

Improves the test method for this validation by checking the culpable method in this particular case. The test was missing this by calling the wrong method.
This commit is contained in:
Simon Hamp
2018-02-26 15:56:28 +00:00
parent e24964af07
commit 6723aadfe8
2 changed files with 24 additions and 10 deletions

View File

@@ -335,7 +335,7 @@ class AuthCodeGrantTest extends TestCase
]
);
$grant->validateAuthorizationRequest($request);
$grant->canRespondToAuthorizationRequest($request);
}
/**