Add test coverage for identity token

This commit is contained in:
dinamiko 2021-03-03 15:08:27 +01:00
parent 887b295d52
commit e7f592efe3
3 changed files with 173 additions and 1 deletions

View file

@ -73,7 +73,7 @@ class DataClientIdEndpoint implements EndpointInterface {
array(
'token' => $token->token(),
'expiration' => $token->expiration_timestamp(),
'user' => get_current_user_id(),
'user' => $user_id,
)
);
return true;