|
|
@ -11,7 +11,6 @@ namespace NzbDrone.Core.Test.IndexerTests.NewznabTests
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class NewznabRequestGeneratorFixture : CoreTest<NewznabRequestGenerator>
|
|
|
|
public class NewznabRequestGeneratorFixture : CoreTest<NewznabRequestGenerator>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private SingleEpisodeSearchCriteria _singleEpisodeSearchCriteria;
|
|
|
|
|
|
|
|
private AlbumSearchCriteria _singleAlbumSearchCriteria;
|
|
|
|
private AlbumSearchCriteria _singleAlbumSearchCriteria;
|
|
|
|
private NewznabCapabilities _capabilities;
|
|
|
|
private NewznabCapabilities _capabilities;
|
|
|
|
|
|
|
|
|
|
|
@ -25,18 +24,10 @@ namespace NzbDrone.Core.Test.IndexerTests.NewznabTests
|
|
|
|
ApiKey = "abcd",
|
|
|
|
ApiKey = "abcd",
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
_singleEpisodeSearchCriteria = new SingleEpisodeSearchCriteria
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Series = new Tv.Series { TvRageId = 10, TvdbId = 20, TvMazeId = 30 },
|
|
|
|
|
|
|
|
SceneTitles = new List<string> { "Monkey Island" },
|
|
|
|
|
|
|
|
SeasonNumber = 1,
|
|
|
|
|
|
|
|
EpisodeNumber = 2
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_singleAlbumSearchCriteria = new AlbumSearchCriteria
|
|
|
|
_singleAlbumSearchCriteria = new AlbumSearchCriteria
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Artist = new Music.Artist { Name = "Alien Ant Farm" },
|
|
|
|
Artist = new Music.Artist { Name = "Alien Ant Farm" },
|
|
|
|
Albums = new List<Music.Album> { new Music.Album { Title = "TruANT" } }
|
|
|
|
AlbumTitle = "TruANT"
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|