Use single_instance_allowed for webhook config flows (#40965)

This commit is contained in:
springstan authored and GitHub committed 2020-10-01 20:44:13 +02:00
1 parent 17c6838b7f
commit c7ebfdb403
23 files changed
+27 -25

No files matched your search

+1 -1
View File
@@ -51,4 +51,4 @@ async def test_one_instance_allowed(hass):
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
assert result["type"] == "abort"
assert result["reason"] == "one_instance_allowed"
assert result["reason"] == "single_instance_allowed"