mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-09-18 06:05:34 +08:00
changed assertions for test to be more realistic
This commit is contained in:
@@ -100,8 +100,8 @@ namespace Ocelot.AcceptanceTests
|
|||||||
|
|
||||||
private void ThenBothServicesCalledRealisticAmountOfTimes()
|
private void ThenBothServicesCalledRealisticAmountOfTimes()
|
||||||
{
|
{
|
||||||
_counterOne.ShouldBe(26);
|
_counterOne.ShouldBeInRange(24,26);
|
||||||
_counterTwo.ShouldBe(24);
|
_counterOne.ShouldBeInRange(24,26);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ThenTheTwoServicesShouldHaveBeenCalledTimes(int expected)
|
private void ThenTheTwoServicesShouldHaveBeenCalledTimes(int expected)
|
||||||
|
Reference in New Issue
Block a user