diff --git a/tests/components/canary/test_config_flow.py b/tests/components/canary/test_config_flow.py index 06aadc8297c2..6e531b26c8d2 100644 --- a/tests/components/canary/test_config_flow.py +++ b/tests/components/canary/test_config_flow.py @@ -96,10 +96,9 @@ async def test_user_form_single_instance_allowed( await init_integration(hass, skip_entry_setup=True) result = await hass.config_entries.flow.async_init( - DOMAIN, - context={"source": SOURCE_USER}, - data=USER_INPUT, + DOMAIN, context={"source": SOURCE_USER} ) + assert result["type"] is FlowResultType.ABORT assert result["reason"] == "single_instance_allowed"