mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
3D bug with search history cleanup fixed
Fixed: Search History Cleanup Job logic was backwards
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user