Rename DbId to MbRef #242

Merged
wojtek merged 2 commits from 231---differentiate-release-groups-with-same-title-but-different-type-clash into main 2025-01-02 22:54:53 +01:00
Showing only changes of commit 32da469d9f - Show all commits

View File

@ -873,7 +873,9 @@ mod tests {
// To clear the mb_ref we need the album_id to have the mb_ref to identify the correct album. // To clear the mb_ref we need the album_id to have the mb_ref to identify the correct album.
album_id.set_mb_ref(AlbumMbRef::CannotHaveMbid); album_id.set_mb_ref(AlbumMbRef::CannotHaveMbid);
assert!(music_hoard.clear_album_mb_ref(&artist_id, &album_id).is_ok()); assert!(music_hoard
.clear_album_mb_ref(&artist_id, &album_id)
.is_ok());
let album = &music_hoard.collection[0].albums[0]; let album = &music_hoard.collection[0].albums[0];
assert_eq!(album.meta.id.mb_ref, AlbumMbRef::None); assert_eq!(album.meta.id.mb_ref, AlbumMbRef::None);
} }