Fixed DownloadProviderTest (wasn't providing a mock for ExternalNotificationProvider)

pull/2/head
Mark McDowall 13 years ago
parent e29fee9686
commit 23681167e4

@ -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…
Cancel
Save