Make tests consistent
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m0s
Cargo CI / Lint (pull_request) Successful in 44s

This commit is contained in:
Wojciech Kozlowski 2024-01-10 19:01:37 +01:00
parent f36247f53b
commit b35a8eea0a

View File

@ -1233,8 +1233,6 @@ mod tests {
assert!(music_hoard.clear_musicbrainz_url(&artist_id).is_ok()); assert!(music_hoard.clear_musicbrainz_url(&artist_id).is_ok());
_ = expected.take(); _ = expected.take();
assert_eq!(music_hoard.collection[0].properties.musicbrainz, expected); assert_eq!(music_hoard.collection[0].properties.musicbrainz, expected);
assert!(music_hoard.delete_artist(&artist_id).is_ok());
} }
#[test] #[test]
@ -1715,8 +1713,6 @@ mod tests {
assert!(music_hoard.clear_qobuz_url(&artist_id).is_ok()); assert!(music_hoard.clear_qobuz_url(&artist_id).is_ok());
_ = expected.take(); _ = expected.take();
assert_eq!(music_hoard.collection[0].properties.qobuz, expected); assert_eq!(music_hoard.collection[0].properties.qobuz, expected);
assert!(music_hoard.delete_artist(&artist_id).is_ok());
} }
#[test] #[test]