mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
Thanks for this suggestion. I will try to keep this in mind going forward with future PRs Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
78bbfca990
commit
10fbb4d48d
@ -13,7 +13,7 @@ namespace Jellyfin.Server.Implementations.Tests.Sorting
|
|||||||
{
|
{
|
||||||
[Theory]
|
[Theory]
|
||||||
[ClassData(typeof(EpisodeBadData))]
|
[ClassData(typeof(EpisodeBadData))]
|
||||||
public void AiredEpisodeOrderCompareErrorTest(BaseItem x, BaseItem y)
|
public void Compare_GivenNull_ThrowsArgumentNullException(BaseItem x, BaseItem y)
|
||||||
{
|
{
|
||||||
var cmp = new AiredEpisodeOrderComparer();
|
var cmp = new AiredEpisodeOrderComparer();
|
||||||
Assert.Throws<ArgumentNullException>(() => cmp.Compare(x, y));
|
Assert.Throws<ArgumentNullException>(() => cmp.Compare(x, y));
|
||||||
|
Loading…
Reference in New Issue
Block a user