Skip to content

Commit

Permalink
fix migration unit test for new minor version 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
miaucl committed Apr 28, 2024
1 parent 0a72866 commit 64038f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/components/swiss_public_transport/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
]


async def test_migration_1_1_to_1_2(
async def test_migration_1_1_to_1_3(
hass: HomeAssistant, entity_registry: er.EntityRegistry
) -> None:
"""Test successful setup."""
Expand Down Expand Up @@ -76,7 +76,7 @@ async def test_migration_1_1_to_1_2(
)

# Check change in config entry
assert config_entry_faulty.minor_version == 2
assert config_entry_faulty.minor_version == 3
assert config_entry_faulty.unique_id == "test_start test_destination"

# Check "None" is gone
Expand Down

0 comments on commit 64038f5

Please sign in to comment.