diff --git a/src/NzbDrone.Core.Test/Configuration/ConfigServiceFixture.cs b/src/NzbDrone.Core.Test/Configuration/ConfigServiceFixture.cs index 906f4d611..2369c9ddf 100644 --- a/src/NzbDrone.Core.Test/Configuration/ConfigServiceFixture.cs +++ b/src/NzbDrone.Core.Test/Configuration/ConfigServiceFixture.cs @@ -31,7 +31,7 @@ namespace NzbDrone.Core.Test.Configuration [Test] public void Get_value_should_return_default_when_no_value() { - Subject.HistoryCleanupDays.Should().Be(365); + Subject.HistoryCleanupDays.Should().Be(30); } [Test] @@ -46,7 +46,7 @@ namespace NzbDrone.Core.Test.Configuration public void get_value_with_out_persist_should_not_store_default_value() { var interval = Subject.HistoryCleanupDays; - interval.Should().Be(365); + interval.Should().Be(30); Mocker.GetMock().Verify(c => c.Insert(It.IsAny()), Times.Never()); } diff --git a/src/NzbDrone.Core/Configuration/ConfigService.cs b/src/NzbDrone.Core/Configuration/ConfigService.cs index 77e43f378..208692c97 100644 --- a/src/NzbDrone.Core/Configuration/ConfigService.cs +++ b/src/NzbDrone.Core/Configuration/ConfigService.cs @@ -77,7 +77,7 @@ namespace NzbDrone.Core.Configuration public int HistoryCleanupDays { - get { return GetValueInt("HistoryCleanupDays", 365); } + get { return GetValueInt("HistoryCleanupDays", 30); } set { SetValue("HistoryCleanupDays", value); } }