#6017 replaced random_int()
with rand()
, since we still support oldstable PHP (5.6.x)
This commit is contained in:
parent
44a6141235
commit
dc3b166811
@ -250,7 +250,7 @@ class EntityManagerTest extends OrmTestCase
|
|||||||
*/
|
*/
|
||||||
public function testClearManagerWithProxyClassName()
|
public function testClearManagerWithProxyClassName()
|
||||||
{
|
{
|
||||||
$proxy = $this->_em->getReference(Country::class, ['id' => random_int(457, 100000)]);
|
$proxy = $this->_em->getReference(Country::class, ['id' => rand(457, 100000)]);
|
||||||
|
|
||||||
$entity = new Country(456, 'United Kingdom');
|
$entity = new Country(456, 'United Kingdom');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user