From a17c224b479b43240b17ae77b065e99add8b4cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Gel=C3=B3czi?= Date: Thu, 30 Dec 2021 01:53:00 +0100 Subject: [PATCH] Update AudioStationConnector_Tests.cs --- .../AudioStationConnector_Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SynologyDotNet.AudioStation.IntegrationTest/AudioStationConnector_Tests.cs b/SynologyDotNet.AudioStation.IntegrationTest/AudioStationConnector_Tests.cs index d1b791e..a4d5691 100644 --- a/SynologyDotNet.AudioStation.IntegrationTest/AudioStationConnector_Tests.cs +++ b/SynologyDotNet.AudioStation.IntegrationTest/AudioStationConnector_Tests.cs @@ -78,7 +78,7 @@ private static void CreateTestPlaylist() Assert.IsNotNull(TestPlaylist); // Add a few songs to the test playlist - var songsResponse = AudioStation.ListSongsAsync(5, 0, SongQueryAdditional.None, (SongQueryParameter.sort_by, SongSortBy.Random)).Result; + var songsResponse = AudioStation.ListSongsAsync(5, 0, SongQueryAdditional.None).Result; Assert.IsTrue(songsResponse.Success); var addSongsResponse = AudioStation.AddSongsToPlaylist(TestPlaylist.ID, songsResponse.Data.Songs.Select(x => x.ID).ToArray()).Result; Assert.IsTrue(addSongsResponse.Success);