Move loading fixtures to the bootstrap file

This commit is contained in:
Yassine Guedidi
2024-01-07 22:33:20 +01:00
parent 4a4b584a46
commit 99ad390144
3 changed files with 10 additions and 11 deletions

View File

@ -30,3 +30,11 @@ require __DIR__ . '/../vendor/autoload.php';
'--env=test',
'-vv',
]))->mustRun();
(new Process([
'php',
__DIR__ . '/../bin/console',
'doctrine:fixtures:load',
'--no-interaction',
'--env=test',
]))->mustRun();