Make reset database in tests use migrations instead of schema create

This commit is contained in:
Yassine Guedidi 2024-01-22 10:29:35 +01:00
parent ce790c8f04
commit 764f547ba5

View file

@ -52,7 +52,7 @@ abstract class WallabagCoreTestCase extends WebTestCase
]), new NullOutput());
$application->run(new ArrayInput([
'command' => 'doctrine:schema:create',
'command' => 'doctrine:migrations:migrate',
'--no-interaction' => true,
'--env' => 'test',
]), new NullOutput());