New: Add test all action for apps and download clients to status health

This commit is contained in:
Bogdan
2023-08-05 14:06:05 +03:00
parent 5cbbffb018
commit 765f354c51
3 changed files with 37 additions and 2 deletions
@@ -42,6 +42,11 @@ namespace NzbDrone.Core.Applications
return enabledClients.ToList();
}
protected override List<ApplicationDefinition> Active()
{
return base.Active().Where(c => c.Enable).ToList();
}
private IEnumerable<IApplication> FilterBlockedApplications(IEnumerable<IApplication> applications)
{
var blockedApplications = _applicationStatusService.GetBlockedProviders().ToDictionary(v => v.ProviderId, v => v);