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.
This commit is contained in:
Broque Thomas 2026-04-20 21:11:45 -07:00
parent dad915dc2c
commit 7287a9d184

View file

@ -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": "",
}