aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Implementations.Tests/Library
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-12-25 18:46:08 +0000
committerGitHub <noreply@github.com>2021-12-25 18:46:08 +0000
commitd594f81f65eb24d80ac4988c181bc099e8ec7c38 (patch)
treeb007ea28b081f65cf7ba2a407d3f67c4b78b5e8a /tests/Jellyfin.Server.Implementations.Tests/Library
parent60e75f7b700bb8ddc52d937892e2fcdaa57b9d6a (diff)
parentcbfa355e31ec7a78ef73bbde5566fb2b3424363e (diff)
Merge pull request #7048 from Bond-009/warn56
Diffstat (limited to 'tests/Jellyfin.Server.Implementations.Tests/Library')
-rw-r--r--tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs4
-rw-r--r--tests/Jellyfin.Server.Implementations.Tests/Library/LibraryManager/FindExtrasTests.cs6
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs b/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs
index 362c3216f..5c7c983c2 100644
--- a/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs
+++ b/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs
@@ -14,7 +14,7 @@ namespace Jellyfin.Server.Implementations.Tests.Library
{
public class EpisodeResolverTest
{
- private static readonly NamingOptions _namingOptions = new ();
+ private static readonly NamingOptions _namingOptions = new();
[Fact]
public void Resolve_GivenVideoInExtrasFolder_DoesNotResolveToEpisode()
@@ -65,7 +65,7 @@ namespace Jellyfin.Server.Implementations.Tests.Library
{
}
- protected override TVideoType ResolveVideo<TVideoType>(ItemResolveArgs args, bool parseName) => new ();
+ protected override TVideoType ResolveVideo<TVideoType>(ItemResolveArgs args, bool parseName) => new();
}
}
}
diff --git a/tests/Jellyfin.Server.Implementations.Tests/Library/LibraryManager/FindExtrasTests.cs b/tests/Jellyfin.Server.Implementations.Tests/Library/LibraryManager/FindExtrasTests.cs
index b29426d85..ccff95313 100644
--- a/tests/Jellyfin.Server.Implementations.Tests/Library/LibraryManager/FindExtrasTests.cs
+++ b/tests/Jellyfin.Server.Implementations.Tests/Library/LibraryManager/FindExtrasTests.cs
@@ -97,7 +97,7 @@ public class FindExtrasTests
false))
.Returns(new List<FileSystemMetadata>
{
- new ()
+ new()
{
FullName = "/movies/Up/trailers/some trailer.mkv",
Name = "some trailer.mkv",
@@ -112,7 +112,7 @@ public class FindExtrasTests
false))
.Returns(new List<FileSystemMetadata>
{
- new ()
+ new()
{
FullName = "/movies/Up/behind the scenes/the making of Up.mkv",
Name = "the making of Up.mkv",
@@ -127,7 +127,7 @@ public class FindExtrasTests
false))
.Returns(new List<FileSystemMetadata>
{
- new ()
+ new()
{
FullName = "/movies/Up/theme-music/theme2.mp3",
Name = "theme2.mp3",