From bd2cdaf5da5ffbe1a2417bbb8126f8cfe03721de Mon Sep 17 00:00:00 2001 From: Andrew Millington Date: Tue, 31 Oct 2017 23:01:19 +0000 Subject: [PATCH] Change missing scope test to check for invalid_scope exception --- tests/Grant/AbstractGrantTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Grant/AbstractGrantTest.php b/tests/Grant/AbstractGrantTest.php index 11139bfb..83009716 100644 --- a/tests/Grant/AbstractGrantTest.php +++ b/tests/Grant/AbstractGrantTest.php @@ -461,7 +461,7 @@ class AbstractGrantTest extends \PHPUnit_Framework_TestCase /** * @expectedException \League\OAuth2\Server\Exception\OAuthServerException - * @expectedExceptionCode 11 + * @expectedExceptionCode 5 */ public function testValidateScopesMissingScope() {