Use common strings for Onvif config flow (#41170)

* Use common strings for Onvif config flow

* Fix tests

* Update homeassistant/components/onvif/strings.json

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
Diefferson Koderer MôroandPaulus Schoutsen authored and GitHub committed 2020-10-05 15:27:48 +02:00
1 parent c7027e2828
commit dde465da48
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -531,7 +531,7 @@ async def test_flow_import_onvif_auth_error(hass):
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result["step_id"] == "auth"
assert result["errors"]["base"] == "connection_failed"
assert result["errors"]["base"] == "cannot_connect"
async def test_option_flow(hass):