Ensure sonarr tests add config entry before updating it (#110422)
parent
8282018260
commit
bb9ffa758d
|
@ -98,6 +98,7 @@ async def test_migrate_config_entry(hass: HomeAssistant) -> None:
|
|||
CONF_BASE_PATH: "/base/",
|
||||
}
|
||||
entry = MockConfigEntry(domain=DOMAIN, data=legacy_config)
|
||||
entry.add_to_hass(hass)
|
||||
|
||||
assert entry.data == legacy_config
|
||||
assert entry.version == 1
|
||||
|
|
Loading…
Reference in New Issue