Add a library identifier to disambiguate clashes in the library #238
@ -231,7 +231,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn rescan_library_album_id_clash() {
|
||||
fn rescan_library_different_artist_album_title_clash() {
|
||||
let mut library = MockILibrary::new();
|
||||
|
||||
let mut expected = LIBRARY_COLLECTION.to_owned();
|
||||
@ -246,7 +246,7 @@ mod tests {
|
||||
item.album_title = clashed_album_id.title.clone();
|
||||
}
|
||||
|
||||
expected[0].albums[0].meta.id = clashed_album_id.clone();
|
||||
expected[0].albums[0].meta.id.title = clashed_album_id.title.clone();
|
||||
|
||||
let library_input = Query::new();
|
||||
let library_result = Ok(items);
|
||||
|
Loading…
x
Reference in New Issue
Block a user