From 0ab5c2932410e66c5ba024b6167adddcd221f96d Mon Sep 17 00:00:00 2001 From: ollo69 Date: Fri, 11 Oct 2024 08:48:04 +0000 Subject: [PATCH] Fix reauth test --- tests/test_config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_config_flow.py b/tests/test_config_flow.py index 6f2e4a14..be6236bc 100644 --- a/tests/test_config_flow.py +++ b/tests/test_config_flow.py @@ -166,7 +166,7 @@ async def test_token_refresh(hass, connect): await hass.async_block_till_done() assert result2["type"] == data_entry_flow.FlowResultType.ABORT - assert result2["reason"] == "reconfigured" + assert result2["reason"] == "reauth_successful" assert len(mock_setup_entry.mock_calls) == 1 entries = hass.config_entries.async_entries(DOMAIN)