Fix translation string in spotify (#128440)

* Fix translation string in spotify

* Remove ignore_translations from spotify config_flow test

* Fix formatting in config flow test for spotify
pull/128148/head
Julian 2024-10-15 14:00:34 +02:00 committed by GitHub
parent fa8284d360
commit 260d919f80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -19,7 +19,8 @@
"oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]",
"oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]",
"oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]",
"connection_error": "Could not fetch account information. Is the user registered in the Spotify Developer Dashboard?"
"connection_error": "Could not fetch account information. Is the user registered in the Spotify Developer Dashboard?",
"missing_credentials": "[%key:common::config_flow::abort::oauth2_missing_credentials%]"
},
"create_entry": {
"default": "Successfully authenticated with Spotify."

View File

@ -29,10 +29,6 @@ BLANK_ZEROCONF_INFO = zeroconf.ZeroconfServiceInfo(
)
@pytest.mark.parametrize( # Remove when translations fixed
"ignore_translations",
["component.spotify.config.abort.missing_credentials"],
)
async def test_abort_if_no_configuration(hass: HomeAssistant) -> None:
"""Check flow aborts when no configuration is present."""
result = await hass.config_entries.flow.async_init(