1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01: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>()
.Verify(v => v.UpdateMany(
It.Is<List<IndexerStatus>>(i => i.All(
s => s.DisabledTill.Value < DateTime.UtcNow.AddMinutes(disabledTillTime)))
s => s.DisabledTill.Value <= DateTime.UtcNow.AddMinutes(disabledTillTime)))
)
);
}