Skip to content
Snippets Groups Projects
Unverified Commit 05ac67eb authored by Erik Montnemery's avatar Erik Montnemery Committed by GitHub
Browse files

Adjust unifi tests which create devices (#98211)

parent fb1bb0d3
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,7 @@ def mock_device_registry(hass): ...@@ -59,6 +59,7 @@ def mock_device_registry(hass):
"""Mock device registry.""" """Mock device registry."""
dev_reg = dr.async_get(hass) dev_reg = dr.async_get(hass)
config_entry = MockConfigEntry(domain="something_else") config_entry = MockConfigEntry(domain="something_else")
config_entry.add_to_hass(hass)
for idx, device in enumerate( for idx, device in enumerate(
( (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment