public void cutoff_should_have_movie() { EnsureProfileCutoff(1, Quality.HDTV720p); var movie = EnsureMovie(680, "Pulp Fiction", true); EnsureMovieFile(movie, Quality.SDTV); var result = WantedCutoffUnmet.GetPaged(0, 15, "physicalRelease", "desc"); result.Records.First().Title.Should().Be("Pulp Fiction"); }
public void cutoff_should_have_unmonitored_items() { EnsureProfileCutoff(1, Quality.HDTV720p); var series = EnsureSeries(266189, "The Blacklist", false); EnsureEpisodeFile(series, 1, 1, Quality.SDTV); var result = WantedCutoffUnmet.GetPaged(0, 15, "airDateUtc", "desc", "monitored", "false"); result.Records.Should().NotBeEmpty(); }
public void cutoff_should_not_have_unmonitored_items() { EnsureProfileCutoff(1, Quality.HDTV720p); var movie = EnsureMovie(680, "Pulp Fiction", false); EnsureMovieFile(movie, Quality.SDTV); var result = WantedCutoffUnmet.GetPaged(0, 15, "physicalRelease", "desc"); result.Records.Should().BeEmpty(); }
public void cutoff_should_not_have_unmonitored_items() { EnsureProfileCutoff(1, "Lossless"); var artist = EnsureArtist("8ac6cc32-8ddf-43b1-9ac4-4b04f9053176", "Alien Ant Farm", false); EnsureTrackFile(artist, 1, 1, 1, Quality.MP3_192); var result = WantedCutoffUnmet.GetPaged(0, 15, "releaseDate", "desc"); result.Records.Should().BeEmpty(); }
public void cutoff_should_not_have_unmonitored_items() { EnsureProfileCutoff(1, Quality.AZW3); var author = EnsureAuthor("14586394", "43765115", "Andrew Hunter Murray", false); EnsureBookFile(author, 1, 1, Quality.MOBI); var result = WantedCutoffUnmet.GetPaged(0, 15, "releaseDate", "desc"); result.Records.Should().BeEmpty(); }
public void cutoff_should_have_series() { EnsureProfileCutoff(1, Quality.HDTV720p); var series = EnsureSeries(266189, "The Blacklist", true); EnsureEpisodeFile(series, 1, 1, Quality.SDTV); var result = WantedCutoffUnmet.GetPaged(0, 15, "airDateUtc", "desc"); result.Records.First().Series.Should().NotBeNull(); result.Records.First().Series.Title.Should().Be("The Blacklist"); }
public void cutoff_should_have_artist() { EnsureProfileCutoff(1, "Lossless"); var artist = EnsureArtist("8ac6cc32-8ddf-43b1-9ac4-4b04f9053176", "Alien Ant Farm", true); EnsureTrackFile(artist, 1, 1, 1, Quality.MP3_192); var result = WantedCutoffUnmet.GetPaged(0, 15, "releaseDate", "desc"); result.Records.First().Artist.Should().NotBeNull(); result.Records.First().Artist.ArtistName.Should().Be("Alien Ant Farm"); }
public void cutoff_should_have_author() { EnsureProfileCutoff(1, Quality.AZW3); var author = EnsureAuthor("14586394", "43765115", "Andrew Hunter Murray", true); EnsureBookFile(author, 1, 1, Quality.MOBI); var result = WantedCutoffUnmet.GetPaged(0, 15, "releaseDate", "desc"); result.Records.First().Author.Should().NotBeNull(); result.Records.First().Author.AuthorName.Should().Be("Andrew Hunter Murray"); }