mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Add test coverage for identity token
This commit is contained in:
parent
887b295d52
commit
e7f592efe3
3 changed files with 173 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue