|
|
@ -35,7 +35,7 @@ namespace NzbDrone.Core.Test.Housekeeping.Housekeepers
|
|
|
|
Mocker.GetMock<IIndexerStatusRepository>()
|
|
|
|
Mocker.GetMock<IIndexerStatusRepository>()
|
|
|
|
.Verify(v => v.UpdateMany(
|
|
|
|
.Verify(v => v.UpdateMany(
|
|
|
|
It.Is<List<IndexerStatus>>(i => i.All(
|
|
|
|
It.Is<List<IndexerStatus>>(i => i.All(
|
|
|
|
s => s.DisabledTill.Value < DateTime.UtcNow.AddMinutes(disabledTillTime)))
|
|
|
|
s => s.DisabledTill.Value <= DateTime.UtcNow.AddMinutes(disabledTillTime)))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|