changed assertions for test to be more realistic

This commit is contained in:
Tom Gardham-Pallister 2017-11-09 09:07:54 +00:00
parent b64b06e069
commit 93b4f2269a

View File

@ -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)