forked from wallabag/wallabag
Make reset database in tests use migrations instead of schema create
This commit is contained in:
@ -52,7 +52,7 @@ abstract class WallabagCoreTestCase extends WebTestCase
|
|||||||
]), new NullOutput());
|
]), new NullOutput());
|
||||||
|
|
||||||
$application->run(new ArrayInput([
|
$application->run(new ArrayInput([
|
||||||
'command' => 'doctrine:schema:create',
|
'command' => 'doctrine:migrations:migrate',
|
||||||
'--no-interaction' => true,
|
'--no-interaction' => true,
|
||||||
'--env' => 'test',
|
'--env' => 'test',
|
||||||
]), new NullOutput());
|
]), new NullOutput());
|
||||||
|
|||||||
Reference in New Issue
Block a user