aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormammo0 <marc.ammon@hotmail.de>2023-03-15 11:56:11 +0100
committermammo0 <marc.ammon@hotmail.de>2023-03-15 11:56:11 +0100
commit90e8aad05d93842c7400b0ff5326e69fe5e7b48e (patch)
treeda0a8bdae92c3a7674e45d4c077e9fd1e1eb45da
parent1c57c52474799fb7bcba3c5f08098e348f214590 (diff)
fixed FourSisters test case
The files should be treated as separate movies and should not be stacked, because the parttype is missing.
-rw-r--r--tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs b/tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs
index cc9cfdd7d..6f9ae7307 100644
--- a/tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs
+++ b/tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs
@@ -332,7 +332,9 @@ namespace Jellyfin.Naming.Tests.Video
files.Select(i => VideoResolver.Resolve(i, false, _namingOptions)).OfType<VideoFileInfo>().ToList(),
_namingOptions).ToList();
- Assert.Single(result);
+ // The result should contain to individual movies
+ // Version grouping should not work here, because the files are not in a directory with the name 'Four Sisters and a Wedding'
+ Assert.Equal(2, result.Count);
}
[Fact]