Fixed broken test.

This commit is contained in:
Mark McDowall 2012-02-27 22:18:11 -08:00
parent 6574a2b065
commit bdadb66fcb
1 changed files with 3 additions and 0 deletions

View File

@ -116,6 +116,9 @@ namespace NzbDrone.Core.Test.ProviderTests
Mocker.GetMock<MediaFileProvider>()
.Setup(e => e.Delete(It.IsAny<int>()));
Mocker.GetMock<ConfigProvider>()
.SetupGet(s => s.AutoIgnorePreviouslyDownloadedEpisodes)
.Returns(true);
//Act
Mocker.Resolve<DiskScanProvider>().CleanUp(episodes);