mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Diskscan/Info update job refactoring and test
This commit is contained in:
parent
fb63d0536a
commit
e4ff0d6471
16 changed files with 400 additions and 114 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue