1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 09:21:57 +00:00

Fixed: Flaky IndexerStatusTimes Test

This commit is contained in:
Qstick 2019-09-08 22:29:57 -04:00
parent fd87be6d1e
commit 066bf1220f

View file

@ -35,7 +35,7 @@ public void should_set_disabled_till_when_its_too_far_in_the_future()
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)))
) )
); );
} }