mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Avoid calling internals when adding mock config entry in Squeezebox (#110601)
This commit is contained in:
committed by
GitHub
parent
d781dc4600
commit
5da31a3f1d
@@ -119,7 +119,8 @@ async def test_user_form_duplicate(hass: HomeAssistant) -> None:
|
||||
unique_id=UUID,
|
||||
data={CONF_HOST: HOST, CONF_PORT: PORT, CONF_HTTPS: False},
|
||||
)
|
||||
await hass.config_entries.async_add(entry)
|
||||
entry.add_to_hass(hass)
|
||||
|
||||
result = await hass.config_entries.flow.async_init(
|
||||
DOMAIN, context={"source": config_entries.SOURCE_USER}
|
||||
)
|
||||
|
Reference in New Issue
Block a user