Skip to content

Commit

Permalink
fix strings
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrike committed Sep 19, 2024
1 parent bad8fb7 commit f07d34d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/point/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ async def async_oauth_create_entry(self, data: dict[str, Any]) -> ConfigFlowResu
self.reauth_entry, data={**self.reauth_entry.data, **data}
)

return self.async_abort(reason="wrong_account")
return self.async_abort(reason="missing_configuration")
2 changes: 1 addition & 1 deletion tests/components/point/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ async def test_wrong_account_in_reauth(
result = await hass.config_entries.flow.async_configure(result["flow_id"])

assert result["type"] is FlowResultType.ABORT
assert result["reason"] == "wrong_account"
assert result["reason"] == "missing_configuration"


async def test_import_flow(
Expand Down

0 comments on commit f07d34d

Please sign in to comment.