Cleanup Conflicts in Sonarr/Lidarr Pulls

Co-Authored-By: Robin Dadswell <19610103+RobinDadswell@users.noreply.github.com>
This commit is contained in:
Qstick
2021-01-24 02:22:50 -05:00
parent ffc12656ee
commit 93ba5ade9e
298 changed files with 4460 additions and 4508 deletions
@@ -10,7 +10,7 @@ namespace NzbDrone.Core.Test.IndexerTests.NewznabTests
{
public class NewznabRequestGeneratorFixture : CoreTest<NewznabRequestGenerator>
{
private BookSearchCriteria _singleAlbumSearchCriteria;
private BookSearchCriteria _singleBookSearchCriteria;
private NewznabCapabilities _capabilities;
[SetUp]
@@ -23,7 +23,7 @@ namespace NzbDrone.Core.Test.IndexerTests.NewznabTests
ApiKey = "abcd",
};
_singleAlbumSearchCriteria = new BookSearchCriteria
_singleBookSearchCriteria = new BookSearchCriteria
{
Author = new Books.Author { Name = "Alien Ant Farm" },
BookTitle = "TruANT"
@@ -50,11 +50,11 @@ namespace NzbDrone.Core.Test.IndexerTests.NewznabTests
[Test]
[Ignore("Disabled since no usenet indexers seem to support it")]
public void should_search_by_artist_and_album_if_supported()
public void should_search_by_author_and_book_if_supported()
{
_capabilities.SupportedBookSearchParameters = new[] { "q", "author", "title" };
var results = Subject.GetSearchRequests(_singleAlbumSearchCriteria);
var results = Subject.GetSearchRequests(_singleBookSearchCriteria);
results.GetTier(0).Should().HaveCount(1);
var page = results.GetAllTiers().First().First();