diff --git a/tests/unit/framework/SecurityTest.php b/tests/unit/framework/SecurityTest.php index 8c600e2c6..b28d99ada 100644 --- a/tests/unit/framework/SecurityTest.php +++ b/tests/unit/framework/SecurityTest.php @@ -71,7 +71,7 @@ class SecurityTest extends \Codeception\TestCase\Test $min = mt_rand(0, 10000); $max = $min + mt_rand(0, 10000); $random = Rhymix\Framework\Security::getRandomNumber($min, $max); - $this->assertTrue($random >= $min && $random < $max); + $this->assertTrue($random >= $min && $random <= $max); } }