Fixed: Flaky IndexerStatusTimes Test

pull/2/head
Qstick 5 years ago
parent fd87be6d1e
commit 066bf1220f

@ -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)))
) )
); );
} }

Loading…
Cancel
Save