mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Change missing scope test to check for invalid_scope exception
This commit is contained in:
parent
4806eda45a
commit
bd2cdaf5da
@ -461,7 +461,7 @@ class AbstractGrantTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @expectedException \League\OAuth2\Server\Exception\OAuthServerException
|
* @expectedException \League\OAuth2\Server\Exception\OAuthServerException
|
||||||
* @expectedExceptionCode 11
|
* @expectedExceptionCode 5
|
||||||
*/
|
*/
|
||||||
public function testValidateScopesMissingScope()
|
public function testValidateScopesMissingScope()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user