Migrate ipp to use async_update_entry to alter config entries (#110311)
This commit is contained in:
parent
7b881e1c6a
commit
5c7d3035ca
1 changed files with 1 additions and 1 deletions
|
@ -99,8 +99,8 @@ async def test_missing_entry_unique_id(
|
|||
mock_ipp: AsyncMock,
|
||||
) -> None:
|
||||
"""Test the unique_id of IPP sensor when printer is missing identifiers."""
|
||||
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