Switch unifiprotect to use async_update_reload_and_abort helper (#108934)
This commit is contained in:
parent
5177d022e8
commit
0120d00081
2 changed files with 3 additions and 4 deletions
|
@ -226,9 +226,10 @@ async def test_form_reauth_auth(hass: HomeAssistant, nvr: NVR) -> None:
|
|||
result2["flow_id"],
|
||||
{
|
||||
"username": "test-username",
|
||||
"password": "test-password",
|
||||
"password": "new-password",
|
||||
},
|
||||
)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert result3["type"] == FlowResultType.ABORT
|
||||
assert result3["reason"] == "reauth_successful"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue