New: Support server notifications

(cherry picked from commit f5f0dd6fae5bc9f308506d56be42ac9a4be908e7)
This commit is contained in:
Qstick
2022-01-19 21:38:37 +00:00
committed by ta264
parent 34506025ac
commit 61454955be
3 changed files with 74 additions and 0 deletions
@@ -19,6 +19,10 @@ namespace NzbDrone.Core.Test.HealthCheck
Mocker.SetConstant<IEnumerable<IProvideHealthCheck>>(new[] { _healthCheck });
Mocker.SetConstant<ICacheManager>(Mocker.Resolve<CacheManager>());
Mocker.GetMock<IServerSideNotificationService>()
.Setup(v => v.GetServerChecks())
.Returns(new List<Core.HealthCheck.HealthCheck>());
}
[Test]