1
0
mirror of synced 2025-03-06 12:56:10 +03:00

#6017 replaced random_int() with rand(), since we still support oldstable PHP (5.6.x)

This commit is contained in:
Marco Pivetta 2016-11-27 18:38:57 +01:00
parent 44a6141235
commit dc3b166811

View File

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