mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 22:18:40 +00:00
Use common strings in adguard config flow (#40942)
This commit is contained in:
@@ -53,7 +53,7 @@ async def test_connection_error(hass, aioclient_mock):
|
||||
|
||||
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
|
||||
assert result["step_id"] == "user"
|
||||
assert result["errors"] == {"base": "connection_error"}
|
||||
assert result["errors"] == {"base": "cannot_connect"}
|
||||
|
||||
|
||||
async def test_full_flow_implementation(hass, aioclient_mock):
|
||||
@@ -235,4 +235,4 @@ async def test_hassio_connection_error(hass, aioclient_mock):
|
||||
|
||||
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
|
||||
assert result["step_id"] == "hassio_confirm"
|
||||
assert result["errors"] == {"base": "connection_error"}
|
||||
assert result["errors"] == {"base": "cannot_connect"}
|
||||
|
||||
Reference in New Issue
Block a user