fixed some broken tests.

This commit is contained in:
kay.one
2013-02-24 11:39:31 -08:00
parent 554924a522
commit a98d792c0d
30 changed files with 60 additions and 60 deletions
@@ -24,7 +24,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DownloadProviderTests
private void SetDownloadClient(DownloadClientType clientType)
{
Mocker.GetMock<ConfigService>()
Mocker.GetMock<IConfigService>()
.Setup(c => c.DownloadClient)
.Returns(clientType);
}
@@ -90,7 +90,7 @@ namespace NzbDrone.Core.Test.ProviderTests.DownloadProviderTests
.Verify(s => s.DownloadNzb(It.IsAny<String>(), It.IsAny<String>(), true), Times.Never());
VerifyEventPublished(It.Is<EpisodeGrabbedEvent>(c => c.ParseResult == parseResult));
VerifyEventPublished<EpisodeGrabbedEvent>();
}
[TestCase(DownloadClientType.Sabnzbd)]