3D bug with search history cleanup fixed

Fixed: Search History Cleanup Job logic was backwards
This commit is contained in:
Mark McDowall 2012-08-14 16:53:55 -07:00
commit bd44b2899a
2 changed files with 2 additions and 3 deletions

View file

@ -70,7 +70,7 @@ namespace NzbDrone.Core.Test.ProviderTests
{
var history = Builder<SearchHistory>.CreateListOfSize(10)
.All()
.With(h => h.SearchTime = DateTime.Now.AddDays(10))
.With(h => h.SearchTime = DateTime.Now.AddDays(-10))
.Build();
foreach(var searchHistory in history)