mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
New: Option to control whether new seasons get monitored automatically
(cherry picked from commit b95a84f6612333d96fcdca083f9c39d96956f3f4) Closes #5083
This commit is contained in:
@@ -58,9 +58,10 @@ namespace NzbDrone.Core.Test.TvTests
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_monitor_new_seasons_automatically_if_series_is_monitored()
|
||||
public void should_monitor_new_seasons_automatically_if_monitor_new_items_is_all()
|
||||
{
|
||||
_series.Monitored = true;
|
||||
_series.MonitorNewItems = NewItemMonitorTypes.All;
|
||||
|
||||
var newSeriesInfo = _series.JsonClone();
|
||||
newSeriesInfo.Seasons.Add(Builder<Season>.CreateNew()
|
||||
.With(s => s.SeasonNumber = 2)
|
||||
@@ -75,9 +76,10 @@ namespace NzbDrone.Core.Test.TvTests
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_not_monitor_new_seasons_automatically_if_series_is_not_monitored()
|
||||
public void should_not_monitor_new_seasons_automatically_if_monitor_new_items_is_none()
|
||||
{
|
||||
_series.Monitored = false;
|
||||
_series.MonitorNewItems = NewItemMonitorTypes.None;
|
||||
|
||||
var newSeriesInfo = _series.JsonClone();
|
||||
newSeriesInfo.Seasons.Add(Builder<Season>.CreateNew()
|
||||
.With(s => s.SeasonNumber = 2)
|
||||
|
||||
Reference in New Issue
Block a user