diff --git a/tests/test_library.py b/tests/test_library.py index f864dd0..6be0459 100644 --- a/tests/test_library.py +++ b/tests/test_library.py @@ -97,7 +97,7 @@ def test_parse_uri(uri, expected): @pytest.mark.parametrize("type", ["track", "album", "artist"]) -def test_parse_uri(type): +def test_to_ref(type): obj = getattr(models, type.capitalize())(uri="hello:world", name="Hello") expected = getattr(models.Ref, type)(uri=obj.uri, name=obj.name) assert mopidy_funkwhale.library.to_ref(obj) == expected