mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Fixed broken example tests
This commit is contained in:
@ -23,7 +23,7 @@ class AuthCodeStorage extends Adapter implements AuthCodeInterface
|
||||
|
||||
if (count($result) === 1) {
|
||||
$token = new AuthCodeEntity($this->server);
|
||||
$token->setToken($result[0]['auth_code']);
|
||||
$token->setId($result[0]['auth_code']);
|
||||
return $token;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user