1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-12 11:15:43 +02:00

Fix previous airing test

This commit is contained in:
Mark McDowall 2023-10-09 22:13:00 -07:00
parent 78b39bd2fe
commit 95b389a948

View File

@ -94,20 +94,6 @@ public void should_not_have_next_airing_for_episode_with_file()
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]
public void should_have_previous_airing_for_old_episode_without_file_monitored()
{