From 90e8aad05d93842c7400b0ff5326e69fe5e7b48e Mon Sep 17 00:00:00 2001 From: mammo0 Date: Wed, 15 Mar 2023 11:56:11 +0100 Subject: [PATCH] fixed FourSisters test case The files should be treated as separate movies and should not be stacked, because the parttype is missing. --- tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs b/tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs index cc9cfdd7dd..6f9ae7307e 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().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]