mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
Revert "Build download requests from indexer implementation"
This reverts commit 84e0f5bfcf.
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
using System;
|
||||
using FluentAssertions;
|
||||
using Moq;
|
||||
using NLog;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common.Disk;
|
||||
using NzbDrone.Common.Http;
|
||||
using NzbDrone.Core.Configuration;
|
||||
using NzbDrone.Core.Download;
|
||||
using NzbDrone.Core.Indexers;
|
||||
using NzbDrone.Core.IndexerSearch.Definitions;
|
||||
using NzbDrone.Core.Movies;
|
||||
using NzbDrone.Core.Parser;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
using NzbDrone.Core.RemotePathMappings;
|
||||
using NzbDrone.Core.Test.Framework;
|
||||
using NzbDrone.Core.Test.IndexerTests;
|
||||
|
||||
namespace NzbDrone.Core.Test.Download.DownloadClientTests
|
||||
{
|
||||
@@ -59,15 +56,6 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests
|
||||
return remoteMovie;
|
||||
}
|
||||
|
||||
protected virtual IIndexer CreateIndexer()
|
||||
{
|
||||
return new TestIndexer(Mocker.Resolve<IHttpClient>(),
|
||||
Mocker.Resolve<IIndexerStatusService>(),
|
||||
Mocker.Resolve<IConfigService>(),
|
||||
Mocker.Resolve<IParsingService>(),
|
||||
Mocker.Resolve<Logger>());
|
||||
}
|
||||
|
||||
protected void VerifyIdentifiable(DownloadClientItem downloadClientItem)
|
||||
{
|
||||
downloadClientItem.DownloadClientInfo.Protocol.Should().Be(Subject.Protocol);
|
||||
|
||||
Reference in New Issue
Block a user