Fixed: Log error when health check fails to communicate with download client

This commit is contained in:
Mark McDowall
2014-12-15 12:18:09 -08:00
parent 6d31b14d96
commit 683656c651
2 changed files with 10 additions and 3 deletions
@@ -4,6 +4,7 @@ using NUnit.Framework;
using NzbDrone.Core.Download;
using NzbDrone.Core.HealthCheck.Checks;
using NzbDrone.Core.Test.Framework;
using NzbDrone.Test.Common;
namespace NzbDrone.Core.Test.HealthCheck.Checks
{
@@ -33,6 +34,8 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
.Returns(new IDownloadClient[] { downloadClient.Object });
Subject.Check().ShouldBeError();
ExceptionVerification.ExpectedErrors(1);
}
[Test]