mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Fixed DownloadProviderTest (wasn't providing a mock for ExternalNotificationProvider)
This commit is contained in:
parent
e29fee9686
commit
23681167e4
1 changed files with 3 additions and 1 deletions
|
@ -55,10 +55,12 @@ namespace NzbDrone.Core.Test
|
|||
mocker.GetMock<EpisodeProvider>()
|
||||
.Setup(c => c.MarkEpisodeAsFetched(12));
|
||||
|
||||
|
||||
mocker.GetMock<EpisodeProvider>()
|
||||
.Setup(c => c.MarkEpisodeAsFetched(99));
|
||||
|
||||
mocker.GetMock<ExternalNotificationProvider>()
|
||||
.Setup(c => c.OnGrab(It.IsAny<string>()));
|
||||
|
||||
mocker.Resolve<DownloadProvider>().DownloadReport(parseResult);
|
||||
|
||||
mocker.VerifyAllMocks();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue