Health check results are stored in memory and updated as required

This commit is contained in:
Mark McDowall
2014-04-09 17:15:13 -07:00
parent 0c71b7c5d0
commit 3f4c1a16f8
21 changed files with 188 additions and 75 deletions
@@ -37,7 +37,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
}
[Test]
public void should_return_null_when_download_client_returns()
public void should_return_ok_when_download_client_returns()
{
var downloadClient = Mocker.GetMock<IDownloadClient>();
@@ -48,7 +48,7 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
.Setup(s => s.GetDownloadClient())
.Returns(downloadClient.Object);
Subject.Check().Should().BeNull();
Subject.Check().ShouldBeOk();
}
}
}