Change missing scope test to check for invalid_scope exception

This commit is contained in:
Andrew Millington 2017-10-31 23:01:19 +00:00
parent 4806eda45a
commit bd2cdaf5da

View File

@ -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()
{ {