Fix Setup of Newznab Test (#51)

Fix Setup of Newznab Test
pull/57/head
Qstick 7 years ago committed by GitHub
parent 4f61354dc5
commit 025534cf71

@ -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"
}; };

Loading…
Cancel
Save