diff --git a/tests/components/vera/test_config_flow.py b/tests/components/vera/test_config_flow.py index 3458ce0b986a..d27ac1fca986 100644 --- a/tests/components/vera/test_config_flow.py +++ b/tests/components/vera/test_config_flow.py @@ -73,9 +73,15 @@ async def test_async_step_finish_error(hass: HomeAssistant) -> None: vera_controller_class_mock.return_value = controller result = await hass.config_entries.flow.async_init( - DOMAIN, - context={"source": config_entries.SOURCE_USER}, - data={CONF_CONTROLLER: "http://127.0.0.1:123/"}, + DOMAIN, context={"source": config_entries.SOURCE_USER} + ) + + assert result["type"] is FlowResultType.FORM + assert result["step_id"] == "user" + + result = await hass.config_entries.flow.async_configure( + result["flow_id"], + user_input={CONF_CONTROLLER: "http://127.0.0.1:123/"}, ) assert result["type"] is FlowResultType.ABORT