Diskscan/Info update job refactoring and test

This commit is contained in:
kay.one 2011-05-20 17:23:49 -07:00
commit e4ff0d6471
16 changed files with 400 additions and 114 deletions

View file

@ -334,7 +334,7 @@ namespace NzbDrone.Core.Test
mocker.GetMock<MediaFileProvider>(MockBehavior.Strict)
.Setup(c => c.Scan(It.Is<Series>(s => s.LastInfoSync != null))).Returns(new List<EpisodeFile>()).Verifiable();
mocker.Resolve<MediaFileScanJob>().Start(new ProgressNotification("test"), 0);
mocker.Resolve<DiskScanJob>().Start(new ProgressNotification("test"), 0);
mocker.VerifyAllMocks();
}