summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAbe Massry <a@abemassry.com>2017-12-01 02:28:16 +0300
committerBrent Shaffer <betterbrent@google.com>2017-12-01 02:28:16 +0300
commit3bbfb19c2a4c55a6eda34800832118a31a42e18d (patch)
treeba04074fa744259cf76f5da20eae3ae87f126adb /test
parentc5cdd7df2e415167b4231dc371582ec275980334 (diff)
downloadoauth2-server-php-v2.x.tar.xz
fix AuthorizeController scope error field (#870)v2.x
Diffstat (limited to 'test')
-rw-r--r--test/OAuth2/Controller/AuthorizeControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OAuth2/Controller/AuthorizeControllerTest.php b/test/OAuth2/Controller/AuthorizeControllerTest.php
index fe3553b..0b15504 100644
--- a/test/OAuth2/Controller/AuthorizeControllerTest.php
+++ b/test/OAuth2/Controller/AuthorizeControllerTest.php
@@ -154,7 +154,7 @@ class AuthorizeControllerTest extends TestCase
$parts = parse_url($response->getHttpHeader('Location'));
parse_str($parts['query'], $query);
- $this->assertEquals($query['error'], 'invalid_client');
+ $this->assertEquals($query['error'], 'invalid_scope');
$this->assertEquals($query['error_description'], 'This application requires you specify a scope parameter');
$request->query['scope'] = 'testscope';