aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Naming.Tests/Video/StackTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Jellyfin.Naming.Tests/Video/StackTests.cs')
-rw-r--r--tests/Jellyfin.Naming.Tests/Video/StackTests.cs16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/Jellyfin.Naming.Tests/Video/StackTests.cs b/tests/Jellyfin.Naming.Tests/Video/StackTests.cs
index 3e0cbaf0c..8794d3ebe 100644
--- a/tests/Jellyfin.Naming.Tests/Video/StackTests.cs
+++ b/tests/Jellyfin.Naming.Tests/Video/StackTests.cs
@@ -6,8 +6,10 @@ using Xunit;
namespace Jellyfin.Naming.Tests.Video
{
- public class StackTests : BaseVideoTest
+ public class StackTests
{
+ private readonly NamingOptions _namingOptions = new NamingOptions();
+
[Fact]
public void TestSimpleStack()
{
@@ -366,11 +368,11 @@ namespace Jellyfin.Naming.Tests.Video
{
var files = new[]
{
- new FileSystemMetadata{FullName = "Bad Boys (2006) part1.mkv", IsDirectory = false},
- new FileSystemMetadata{FullName = "Bad Boys (2006) part2.mkv", IsDirectory = false},
- new FileSystemMetadata{FullName = "300 (2006) part2", IsDirectory = true},
- new FileSystemMetadata{FullName = "300 (2006) part3", IsDirectory = true},
- new FileSystemMetadata{FullName = "300 (2006) part1", IsDirectory = true}
+ new FileSystemMetadata { FullName = "Bad Boys (2006) part1.mkv", IsDirectory = false },
+ new FileSystemMetadata { FullName = "Bad Boys (2006) part2.mkv", IsDirectory = false },
+ new FileSystemMetadata { FullName = "300 (2006) part2", IsDirectory = true },
+ new FileSystemMetadata { FullName = "300 (2006) part3", IsDirectory = true },
+ new FileSystemMetadata { FullName = "300 (2006) part1", IsDirectory = true }
};
var resolver = GetResolver();
@@ -446,7 +448,7 @@ namespace Jellyfin.Naming.Tests.Video
private StackResolver GetResolver()
{
- return new StackResolver(new NamingOptions());
+ return new StackResolver(_namingOptions);
}
}
}