From 764f547ba50dc246bdd339ad75e42e083e18e449 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Mon, 22 Jan 2024 10:29:35 +0100 Subject: [PATCH] Make reset database in tests use migrations instead of schema create --- tests/Wallabag/CoreBundle/WallabagCoreTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Wallabag/CoreBundle/WallabagCoreTestCase.php b/tests/Wallabag/CoreBundle/WallabagCoreTestCase.php index 20673c0e1..ce02791cc 100644 --- a/tests/Wallabag/CoreBundle/WallabagCoreTestCase.php +++ b/tests/Wallabag/CoreBundle/WallabagCoreTestCase.php @@ -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());