mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
fixed FourSisters test case
The files should be treated as separate movies and should not be stacked, because the parttype is missing.
This commit is contained in:
parent
1c57c52474
commit
90e8aad05d
@ -332,7 +332,9 @@ namespace Jellyfin.Naming.Tests.Video
|
|||||||
files.Select(i => VideoResolver.Resolve(i, false, _namingOptions)).OfType<VideoFileInfo>().ToList(),
|
files.Select(i => VideoResolver.Resolve(i, false, _namingOptions)).OfType<VideoFileInfo>().ToList(),
|
||||||
_namingOptions).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]
|
[Fact]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user