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