Skip to content

Commit

Permalink
Fix unit tests.
Browse files Browse the repository at this point in the history
Update unit tests to support RFC6750 compatibility change made in version 1.9.0 of the bshaffer oauth2 server library.
  • Loading branch information
chadicus committed Jan 10, 2017
1 parent a9c6ea3 commit 26288c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/AuthorizationTest.php
Expand Up @@ -123,7 +123,7 @@ public function invokeExpiredToken()

$this->assertSame(401, $response->getStatusCode());
$this->assertSame(
'{"error":"expired_token","error_description":"The access token provided has expired"}',
'{"error":"invalid_token","error_description":"The access token provided has expired"}',
(string)$response->getBody()
);
}
Expand Down

0 comments on commit 26288c2

Please sign in to comment.