Skip to content
Snippets Groups Projects
Commit 36fd289a authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Pas de 'seed' pour Faker

parent 684f974c
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ use Faker\Factory;
use Generator;
use Laminas\Log\Logger;
use Laminas\Log\Writer\Stream;
use Locale;
use UnicaenApp\Service\SQL\RunSQLProcess;
use UnicaenApp\Service\SQL\RunSQLResult;
use Webmozart\Assert\Assert;
......@@ -53,8 +54,7 @@ class DbfakatorService
*/
public function __construct()
{
$this->faker = Factory::create(\Locale::getDefault());
$this->faker->seed(1234);
$this->faker = Factory::create(Locale::getDefault());
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment