From 7287a9d184f18ec9e817a390bb286e1049492899 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Mon, 20 Apr 2026 21:11:45 -0700 Subject: [PATCH] Fix test using old deezer_track_id column name The unknown_artist_fixer was updated to use deezer_id (matching the actual tracks table column) but the test still passed deezer_track_id in the track dict, causing the deezer lookup to miss and fall back to Spotify. --- tests/test_unknown_artist_fixer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_unknown_artist_fixer.py b/tests/test_unknown_artist_fixer.py index 1ee99bc0..4ff15f59 100644 --- a/tests/test_unknown_artist_fixer.py +++ b/tests/test_unknown_artist_fixer.py @@ -110,7 +110,7 @@ def test_unknown_artist_fixer_uses_primary_source_track_id_first(monkeypatch): "title": "Unknown Title", "album_title": "Unknown Album", "spotify_track_id": "sp-1", - "deezer_track_id": "dz-1", + "deezer_id": "dz-1", "itunes_track_id": "", } @@ -176,7 +176,7 @@ def test_unknown_artist_fixer_searches_primary_source_first(monkeypatch): "title": "Matching Title", "album_title": "Matching Album", "spotify_track_id": "", - "deezer_track_id": "", + "deezer_id": "", "itunes_track_id": "", } @@ -229,7 +229,7 @@ def test_unknown_artist_fixer_supports_hydrabase_title_search(monkeypatch): "title": "Hydra Match", "album_title": "Hydra Album", "spotify_track_id": "", - "deezer_track_id": "", + "deezer_id": "", "itunes_track_id": "", }