mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix unit tests for Security::getRandomNumber()
This commit is contained in:
parent
647bc7c112
commit
ddab5ce8d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue