|
|
@ -119,8 +119,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeMonitoredServiceTests
|
|
|
|
|
|
|
|
|
|
|
|
Subject.SetEpisodeMonitoredStatus(_series, monitoringOptions);
|
|
|
|
Subject.SetEpisodeMonitoredStatus(_series, monitoringOptions);
|
|
|
|
|
|
|
|
|
|
|
|
VerifyMonitored(e => !e.HasFile);
|
|
|
|
VerifyNotMonitored(e => e.SeasonNumber == 0);
|
|
|
|
VerifyNotMonitored(e => e.HasFile);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
@ -136,9 +135,7 @@ namespace NzbDrone.Core.Test.TvTests.EpisodeMonitoredServiceTests
|
|
|
|
|
|
|
|
|
|
|
|
Subject.SetEpisodeMonitoredStatus(_series, monitoringOptions);
|
|
|
|
Subject.SetEpisodeMonitoredStatus(_series, monitoringOptions);
|
|
|
|
|
|
|
|
|
|
|
|
VerifyMonitored(e => e.AirDateUtc.HasValue && e.AirDateUtc.Value.After(DateTime.UtcNow));
|
|
|
|
VerifyNotMonitored(e => e.SeasonNumber == 0);
|
|
|
|
VerifyMonitored(e => !e.AirDateUtc.HasValue);
|
|
|
|
|
|
|
|
VerifyNotMonitored(e => e.AirDateUtc.HasValue && e.AirDateUtc.Value.Before(DateTime.UtcNow));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
[Test]
|
|
|
|