aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-02-12 19:25:54 +0100
committerGitHub <noreply@github.com>2023-02-12 11:25:54 -0700
commit318f11e79331e4786c44734ce496eb6485201c2b (patch)
tree6649e556ee172c3cac2a5edb9e0cb224e962b9bb
parent6fb2fac6e4b81dce2a7fc59d3b8163f08c117f4f (diff)
Fix error in XmlTvListingsProviderTests (#9302)
-rw-r--r--tests/Jellyfin.Server.Implementations.Tests/LiveTv/Listings/XmlTvListingsProviderTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Jellyfin.Server.Implementations.Tests/LiveTv/Listings/XmlTvListingsProviderTests.cs b/tests/Jellyfin.Server.Implementations.Tests/LiveTv/Listings/XmlTvListingsProviderTests.cs
index ab1896c0d..92b4178fd 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 XmlTvListingsProviderTests
var 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);
}
}