aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-05-03 22:52:31 +0200
committerGitHub <noreply@github.com>2021-05-03 22:52:31 +0200
commitb9d18f0fa70a0f722331f6a9d3ce5c71750c7253 (patch)
tree5e3669c0860ca15579301b89cd04974c5d41ff48 /tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs
parent716cbb06958da987ab917c1f6408396d4ace7a0c (diff)
parent8bcffdc52e111e2c6b3511897557e3bf301dae71 (diff)
Merge branch 'master' into allocationz
Diffstat (limited to 'tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs')
-rw-r--r--tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs b/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs
index 876519215..c393742eb 100644
--- a/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs
+++ b/tests/Jellyfin.Server.Implementations.Tests/Library/EpisodeResolverTest.cs
@@ -6,6 +6,7 @@ using MediaBrowser.Controller.Entities.TV;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Entities;
+using MediaBrowser.Model.IO;
using Moq;
using Xunit;
@@ -28,7 +29,10 @@ namespace Jellyfin.Server.Implementations.Tests.Library
{
Parent = parent,
CollectionType = CollectionType.TvShows,
- Path = "All My Children/Season 01/Extras/All My Children S01E01 - Behind The Scenes.mkv"
+ FileInfo = new FileSystemMetadata()
+ {
+ FullName = "All My Children/Season 01/Extras/All My Children S01E01 - Behind The Scenes.mkv"
+ }
};
Assert.Null(episodeResolver.Resolve(itemResolveArgs));
@@ -48,7 +52,10 @@ namespace Jellyfin.Server.Implementations.Tests.Library
{
Parent = series,
CollectionType = CollectionType.TvShows,
- Path = "Extras/Extras S01E01.mkv"
+ FileInfo = new FileSystemMetadata()
+ {
+ FullName = "Extras/Extras S01E01.mkv"
+ }
};
Assert.NotNull(episodeResolver.Resolve(itemResolveArgs));
}