New: Various Healthcheck enhancements

Various pulls from Radarr;  Completed at the file - not commit - level
This commit is contained in:
bakerboy448
2022-01-19 12:47:38 -06:00
committed by GitHub
parent c5787b0c87
commit 24e2ff56dd
32 changed files with 201 additions and 97 deletions
@@ -31,6 +31,10 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
[SetUp]
public void Setup()
{
Mocker.GetMock<ILocalizationService>()
.Setup(s => s.GetLocalizedString(It.IsAny<string>()))
.Returns("Some Warning Message");
_clientStatus = new DownloadClientInfo
{
IsLocalhost = true,
@@ -44,10 +48,6 @@ namespace NzbDrone.Core.Test.HealthCheck.Checks
_downloadClient.Setup(s => s.GetStatus())
.Returns(_clientStatus);
Mocker.GetMock<ILocalizationService>()
.Setup(s => s.GetLocalizedString(It.IsAny<string>()))
.Returns("Some Warning Message");
Mocker.GetMock<IProvideDownloadClient>()
.Setup(s => s.GetDownloadClients())
.Returns(new IDownloadClient[] { _downloadClient.Object });