Jelajahi Sumber

fixed FourSisters test case

The files should be treated as separate movies and should not be stacked, because the parttype is missing.
mammo0 2 tahun lalu
induk
melakukan
90e8aad05d

+ 3 - 1
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]