Fix parameter order in FirmwareUpdateCoordinator test instantiations

Co-authored-by: joostlek <7083755+joostlek@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-07-30 19:13:34 +00:00
parent cd46541b9d
commit 9e8c80c42c

View File

@ -143,9 +143,9 @@ def _mock_async_create_update_entity(
config_entry=config_entry, config_entry=config_entry,
update_coordinator=FirmwareUpdateCoordinator( update_coordinator=FirmwareUpdateCoordinator(
hass, hass,
config_entry,
session, session,
TEST_FIRMWARE_RELEASES_URL, TEST_FIRMWARE_RELEASES_URL,
config_entry,
), ),
entity_description=entity_description, entity_description=entity_description,
) )
@ -594,9 +594,9 @@ async def test_update_entity_graceful_firmware_type_callback_errors(
config_entry=update_config_entry, config_entry=update_config_entry,
update_coordinator=FirmwareUpdateCoordinator( update_coordinator=FirmwareUpdateCoordinator(
hass, hass,
update_config_entry,
session, session,
TEST_FIRMWARE_RELEASES_URL, TEST_FIRMWARE_RELEASES_URL,
update_config_entry,
), ),
entity_description=TEST_FIRMWARE_ENTITY_DESCRIPTIONS[ApplicationType.EZSP], entity_description=TEST_FIRMWARE_ENTITY_DESCRIPTIONS[ApplicationType.EZSP],
) )