Migrate twentemilieu to use async_update_entry to alter config entries (#110419)
This commit is contained in:
parent
147a1f7b0b
commit
ddab106391
1 changed files with 1 additions and 1 deletions
|
@ -53,8 +53,8 @@ async def test_update_config_entry_unique_id(
|
|||
mock_config_entry: MockConfigEntry,
|
||||
) -> None:
|
||||
"""Test the we update old config entries with an unique ID."""
|
||||
mock_config_entry.unique_id = None
|
||||
mock_config_entry.add_to_hass(hass)
|
||||
hass.config_entries.async_update_entry(mock_config_entry, unique_id=None)
|
||||
|
||||
await hass.config_entries.async_setup(mock_config_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
|
Loading…
Add table
Reference in a new issue