fixed some broken tests.

This commit is contained in:
kay.one
2013-03-26 20:44:52 -07:00
parent c1960525d7
commit ba4950ea8f
32 changed files with 153 additions and 162 deletions

View File

@@ -19,7 +19,7 @@ namespace NzbDrone.Core.Instrumentation
public void Trim()
{
var oldIds = Queryable().Where(c => c.Time < DateTime.Now.AddDays(-30).Date).Select(c => c.Id);
var oldIds = Query.Where(c => c.Time < DateTime.Now.AddDays(-30).Date).Select(c => c.Id);
DeleteMany(oldIds);
}
}