Use start_reauth_flow in apple_tv test (#129313)

* Use start_reauth_flow in apple_tv test

* Fix
This commit is contained in:
G Johansson 2024-10-28 10:42:19 +01:00 committed by GitHub
parent 72504d7619
commit 93c1245b0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"],