diff --git a/Directory.Packages.props b/Directory.Packages.props
index 2c16bc9d15..b16b7d78c0 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -86,6 +86,6 @@
-
+
\ No newline at end of file
diff --git a/tests/Jellyfin.Naming.Tests/Video/MultiVersionTests.cs b/tests/Jellyfin.Naming.Tests/Video/MultiVersionTests.cs
index 3005a4416c..6b13986957 100644
--- a/tests/Jellyfin.Naming.Tests/Video/MultiVersionTests.cs
+++ b/tests/Jellyfin.Naming.Tests/Video/MultiVersionTests.cs
@@ -25,8 +25,8 @@ namespace Jellyfin.Naming.Tests.Video
files.Select(i => VideoResolver.Resolve(i, false, _namingOptions)).OfType().ToList(),
_namingOptions).ToList();
- Assert.Single(result.Where(v => v.ExtraType is null));
- Assert.Single(result.Where(v => v.ExtraType is not null));
+ Assert.Single(result, v => v.ExtraType is null);
+ Assert.Single(result, v => v.ExtraType is not null);
}
[Fact]
@@ -44,8 +44,8 @@ namespace Jellyfin.Naming.Tests.Video
files.Select(i => VideoResolver.Resolve(i, false, _namingOptions)).OfType().ToList(),
_namingOptions).ToList();
- Assert.Single(result.Where(v => v.ExtraType is null));
- Assert.Single(result.Where(v => v.ExtraType is not null));
+ Assert.Single(result, v => v.ExtraType is null);
+ Assert.Single(result, v => v.ExtraType is not null);
Assert.Equal(2, result[0].AlternateVersions.Count);
}
diff --git a/tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs b/tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
index 3721d1f7ac..12d6e1934d 100644
--- a/tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
+++ b/tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
@@ -157,7 +157,7 @@ namespace Jellyfin.XbmcMetadata.Tests.Parsers
_parser.Fetch(result, "Test Data/Sonarr-Thumb.nfo", CancellationToken.None);
- Assert.Single(result.RemoteImages.Where(x => x.Type == ImageType.Primary));
+ Assert.Single(result.RemoteImages, x => x.Type == ImageType.Primary);
Assert.Equal("https://artworks.thetvdb.com/banners/episodes/359095/7081317.jpg", result.RemoteImages.First(x => x.Type == ImageType.Primary).Url);
}
diff --git a/tests/Jellyfin.XbmcMetadata.Tests/Parsers/MovieNfoParserTests.cs b/tests/Jellyfin.XbmcMetadata.Tests/Parsers/MovieNfoParserTests.cs
index 5bc4abd06d..075c70da88 100644
--- a/tests/Jellyfin.XbmcMetadata.Tests/Parsers/MovieNfoParserTests.cs
+++ b/tests/Jellyfin.XbmcMetadata.Tests/Parsers/MovieNfoParserTests.cs
@@ -220,7 +220,7 @@ namespace Jellyfin.XbmcMetadata.Tests.Parsers
_parser.Fetch(result, "Test Data/Fanart.nfo", CancellationToken.None);
- Assert.Single(result.RemoteImages.Where(x => x.Type == ImageType.Backdrop));
+ Assert.Single(result.RemoteImages, x => x.Type == ImageType.Backdrop);
Assert.Equal("https://assets.fanart.tv/fanart/movies/141052/moviebackground/justice-league-5a5332c7b5e77.jpg", result.RemoteImages.First(x => x.Type == ImageType.Backdrop).Url);
}