diff --git a/tests/snapshots/youtube__music_artist_no_more_albums.snap b/tests/snapshots/youtube__music_artist_no_more_albums.snap index 940f4a2..e9b1902 100644 --- a/tests/snapshots/youtube__music_artist_no_more_albums.snap +++ b/tests/snapshots/youtube__music_artist_no_more_albums.snap @@ -146,6 +146,21 @@ MusicArtist( year: Some(2014), by_va: false, ), + AlbumItem( + id: "MPREb_tdFqP579jQz", + name: "Bleib in der Schule (Live in Berlin)", + cover: "[cover]", + artists: [ + ArtistId( + id: Some("UCOR4_bSVIXPsGa4BbCSt60Q"), + name: "Trailerpark", + ), + ], + artist_id: Some("UCOR4_bSVIXPsGa4BbCSt60Q"), + album_type: Single, + year: Some(2024), + by_va: false, + ), ], playlists: "[playlists]", similar_artists: "[artists]", diff --git a/tests/snapshots/youtube__music_artist_no_more_albums_intl.snap b/tests/snapshots/youtube__music_artist_no_more_albums_intl.snap index eb54f92..5b0fb81 100644 --- a/tests/snapshots/youtube__music_artist_no_more_albums_intl.snap +++ b/tests/snapshots/youtube__music_artist_no_more_albums_intl.snap @@ -146,6 +146,21 @@ MusicArtist( year: Some(2014), by_va: false, ), + AlbumItem( + id: "MPREb_tdFqP579jQz", + name: "[name]", + cover: "[cover]", + artists: [ + ArtistId( + id: Some("UCOR4_bSVIXPsGa4BbCSt60Q"), + name: "[name]", + ), + ], + artist_id: Some("UCOR4_bSVIXPsGa4BbCSt60Q"), + album_type: Single, + year: Some(2024), + by_va: false, + ), ], playlists: "[playlists]", similar_artists: "[artists]", diff --git a/tests/youtube.rs b/tests/youtube.rs index a8c8dc7..91566eb 100644 --- a/tests/youtube.rs +++ b/tests/youtube.rs @@ -86,8 +86,8 @@ async fn get_player_from_client(#[case] client_type: ClientType, rp: RustyPipe) // Bitrates may change between requests assert_approx(video.bitrate, 2_341_408); - assert_eq!(video.average_bitrate, 1_660_210); - assert_eq!(video.size, Some(53_754_490)); + assert_eq!(video.average_bitrate, 1_661_658); + assert_eq!(video.size, Some(53_801_380)); assert_eq!(video.width, 1280); assert_eq!(video.height, 720); assert_eq!(video.fps, 30); @@ -1528,7 +1528,7 @@ async fn music_playlist( } #[rstest] -#[case::user("PLMC9KNkIncKtPzgY-5rmhvj7fax8fdxoj")] +#[case::user("PLZN_exA7d4RVmCQrG5VlWIjMOkMFZVVOc")] #[case::ytm("RDCLAK5uy_kb7EBi6y3GrtJri4_ZH56Ms786DFEimbM")] #[tokio::test] async fn music_playlist_cont(#[case] id: &str, rp: RustyPipe) { @@ -1539,7 +1539,7 @@ async fn music_playlist_cont(#[case] id: &str, rp: RustyPipe) { check_duplicates(&playlist.tracks.items); let track_count = playlist.track_count.unwrap(); - assert_gte(track_count, 100, "tracks"); + assert_gte(track_count, 90, "tracks"); assert_eq!(track_count, playlist.tracks.count.unwrap()); assert_gte( @@ -2038,13 +2038,13 @@ async fn music_search_episode(rp: RustyPipe, #[case] videos: bool) { false )] #[case::album( - "unbroken", - "Unbroken", - "MPREb_rMegpebUBPU", - "Demi Lovato", - "UCwem2sj-QUJCiWiPAo9JuAw", - 2011, - AlbumType::Album, + "where we come alive", + "Where We Come Alive", + "MPREb_Rh1zJSc0xPG", + "Ruelle", + "UCUCg0Z83rDmZUeBAEBlCdCw", + 2018, + AlbumType::Single, true )] #[tokio::test]