Return if refresh token is current used one in WS API (#16575)
This commit is contained in:
parent
e2465da7c2
commit
34d369ba26
3 changed files with 4 additions and 0 deletions
|
@ -320,6 +320,7 @@ async def test_ws_refresh_tokens(hass, hass_ws_client, hass_access_token):
|
|||
assert token['client_name'] == refresh_token.client_name
|
||||
assert token['client_icon'] == refresh_token.client_icon
|
||||
assert token['created_at'] == refresh_token.created_at.isoformat()
|
||||
assert token['is_current'] is True
|
||||
|
||||
|
||||
async def test_ws_delete_refresh_token(hass, hass_ws_client,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue