-
-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Description
If I run a fixtures load command from the command line, it works as expected:
/srv/api # php bin/console doctrine:fixtures:load
Careful, database "powerdns" will be purged. Do you want to continue? (yes/no) [no]:
> yes
> purging database
> loading App\DataFixtures\AppFixtures
But if I set up and call the load method, no data is loaded:
$fixture = new AppFixtures();
$fixture->load($this->entityManager);
Is there a way to manually load fixtures data like this?
Metadata
Metadata
Assignees
Labels
No labels