Fix previous airing test
This commit is contained in:
parent
78b39bd2fe
commit
95b389a948
|
@ -94,20 +94,6 @@ namespace NzbDrone.Core.Test.SeriesStatsTests
|
|||
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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue