mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-09 04:22:30 +01:00
Fixed: Flaky IndexerStatusTimes Test
This commit is contained in:
parent
fd87be6d1e
commit
066bf1220f
@ -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)))
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user