mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed compilation issue
This commit is contained in:
@@ -20,7 +20,6 @@ namespace NzbDrone.Core.Test.OrganizerTests
|
|||||||
{
|
{
|
||||||
namingConfig = new NamingConfig();
|
namingConfig = new NamingConfig();
|
||||||
|
|
||||||
|
|
||||||
Mocker.GetMock<INamingConfigService>()
|
Mocker.GetMock<INamingConfigService>()
|
||||||
.Setup(c => c.GetConfig()).Returns(namingConfig);
|
.Setup(c => c.GetConfig()).Returns(namingConfig);
|
||||||
}
|
}
|
||||||
@@ -40,7 +39,7 @@ namespace NzbDrone.Core.Test.OrganizerTests
|
|||||||
.With(s => s.SeasonFolder = useSeasonFolder)
|
.With(s => s.SeasonFolder = useSeasonFolder)
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
Mocker.GetMock<IConfigService>().Setup(e => e.SeasonFolderFormat).Returns(seasonFolderFormat);
|
namingConfig.SeasonFolderFormat = seasonFolderFormat;
|
||||||
|
|
||||||
Subject.BuildFilePath(fakeSeries, seasonNumber, filename, ".mkv").Should().Be(expectedPath.AsOsAgnostic());
|
Subject.BuildFilePath(fakeSeries, seasonNumber, filename, ".mkv").Should().Be(expectedPath.AsOsAgnostic());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user