The Free Software Media System - Server Backend & API
Fix error in XmlTvListingsProviderTests (#9302)
Bond-009318f11e79331
diff --git a/tests/Jellyfin.Server.Implementations.Tests/LiveTv/Listings/XmlTvListingsProviderTests.cs b/tests/Jellyfin.Server.Implementations.Tests/LiveTv/Listings/XmlTvListingsProviderTests.csindex ab1896c0d7..92b4178fdb 100644--- a/tests/Jellyfin.Server.Implementations.Tests/LiveTv/Listings/XmlTvListingsProviderTests.cs+++ b/tests/Jellyfin.Server.Implementations.Tests/LiveTv/Listings/XmlTvListingsProviderTests.cs@@ -83,7 +83,7 @@ public class XmlTvListingsProviderTestsvar programsList = programs.ToList();Assert.Single(programsList);var program = programsList[0];- Assert.DoesNotContain(program.Genres, g => string.Equals(g, string.Empty, StringComparison.Ordinal));+ Assert.DoesNotContain(program.Genres, g => string.IsNullOrEmpty(g));Assert.Equal("3297", program.ChannelId);}}