Fix previous airing test

This commit is contained in:
Mark McDowall 2023-10-09 22:13:00 -07:00
parent 78b39bd2fe
commit 95b389a948
1 changed files with 0 additions and 14 deletions

View File

@ -94,20 +94,6 @@ namespace NzbDrone.Core.Test.SeriesStatsTests
stats.First().NextAiring.Should().NotHaveValue(); stats.First().NextAiring.Should().NotHaveValue();
} }
[Test]
public void should_have_previous_airing_for_old_episode_with_file()
{
GivenEpisodeWithFile();
GivenOldEpisode();
GivenEpisode();
var stats = Subject.SeriesStatistics();
stats.Should().HaveCount(1);
stats.First().NextAiring.Should().NotHaveValue();
stats.First().PreviousAiring.Should().BeCloseTo(_episode.AirDateUtc.Value, TimeSpan.FromMilliseconds(1000));
}
[Test] [Test]
public void should_have_previous_airing_for_old_episode_without_file_monitored() public void should_have_previous_airing_for_old_episode_without_file_monitored()
{ {