mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 18:22:49 +08:00
changed assertions for test to be more realistic
This commit is contained in:
parent
b64b06e069
commit
93b4f2269a
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user