1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed compilation issue

This commit is contained in:
Mark McDowall 2013-11-20 22:41:53 -08:00
parent 2b682a4936
commit 3d23ac9234

View File

@ -20,7 +20,6 @@ public void Setup()
{
namingConfig = new NamingConfig();
Mocker.GetMock<INamingConfigService>()
.Setup(c => c.GetConfig()).Returns(namingConfig);
}
@ -40,7 +39,7 @@ public void CalculateFilePath_SeasonFolder_SingleNumber(string filename, int sea
.With(s => s.SeasonFolder = useSeasonFolder)
.Build();
Mocker.GetMock<IConfigService>().Setup(e => e.SeasonFolderFormat).Returns(seasonFolderFormat);
namingConfig.SeasonFolderFormat = seasonFolderFormat;
Subject.BuildFilePath(fakeSeries, seasonNumber, filename, ".mkv").Should().Be(expectedPath.AsOsAgnostic());
}