mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Fixed DownloadProviderTest (wasn't providing a mock for ExternalNotificationProvider)
This commit is contained in:
parent
e29fee9686
commit
23681167e4
@ -55,10 +55,12 @@ public void Download_report_should_send_to_sab_add_to_history_mark_as_grabbed()
|
||||
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…
Reference in New Issue
Block a user