mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
fixed more tests.
This commit is contained in:
parent
48880e4964
commit
048162a0ef
45 changed files with 424 additions and 677 deletions
|
@ -13,7 +13,7 @@ namespace NzbDrone.Core.Jobs.Implementations
|
|||
{
|
||||
public class RssSyncJob : IJob
|
||||
{
|
||||
private readonly DownloadProvider _downloadProvider;
|
||||
private readonly DownloadService _downloadService;
|
||||
private readonly IIndexerService _indexerService;
|
||||
private readonly IDownloadDirector DownloadDirector;
|
||||
private readonly IConfigService _configService;
|
||||
|
@ -21,9 +21,9 @@ namespace NzbDrone.Core.Jobs.Implementations
|
|||
|
||||
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
||||
|
||||
public RssSyncJob(DownloadProvider downloadProvider, IIndexerService indexerService, IDownloadDirector downloadDirector, IConfigService configService)
|
||||
public RssSyncJob(DownloadService downloadService, IIndexerService indexerService, IDownloadDirector downloadDirector, IConfigService configService)
|
||||
{
|
||||
_downloadProvider = downloadProvider;
|
||||
_downloadService = downloadService;
|
||||
_indexerService = indexerService;
|
||||
DownloadDirector = downloadDirector;
|
||||
_configService = configService;
|
||||
|
@ -71,7 +71,7 @@ namespace NzbDrone.Core.Jobs.Implementations
|
|||
{
|
||||
if (DownloadDirector.GetDownloadDecision(episodeParseResult).Approved)
|
||||
{
|
||||
_downloadProvider.DownloadReport(episodeParseResult);
|
||||
_downloadService.DownloadReport(episodeParseResult);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue