From 3f420ff6bd4807c77a9406faa3b7c5d7ea758c59 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 29 Oct 2017 00:45:27 -0400 Subject: [PATCH] Fixed: Test case for unavailable download client --- src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs index 27a50fa6c..74715f438 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadServiceFixture.cs @@ -182,12 +182,10 @@ namespace NzbDrone.Core.Test.Download [Test] public void should_not_attempt_download_if_client_isnt_configure() { - Subject.DownloadReport(_parseResult); + Assert.Throws(() => Subject.DownloadReport(_parseResult)); Mocker.GetMock().Verify(c => c.Download(It.IsAny()), Times.Never()); VerifyEventNotPublished(); - - ExceptionVerification.ExpectedWarns(1); } [Test]