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 spotifypull/128148/head
parent
fa8284d360
commit
260d919f80
|
@ -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."
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue