mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Use start_reauth_flow in apple_tv test (#129313)
* Use start_reauth_flow in apple_tv test * Fix
This commit is contained in:
parent
72504d7619
commit
93c1245b0f
@ -1189,11 +1189,7 @@ async def test_reconfigure_update_credentials(hass: HomeAssistant) -> None:
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
DOMAIN,
|
||||
context={"source": "reauth"},
|
||||
data={"identifier": "mrpid", "name": "apple tv"},
|
||||
)
|
||||
result = await config_entry.start_reauth_flow(hass, data={"name": "apple tv"})
|
||||
|
||||
result2 = await hass.config_entries.flow.async_configure(
|
||||
result["flow_id"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user