And of course it doesn't work for SQLite

This commit is contained in:
Jeremy Benoist 2016-12-12 11:32:20 +01:00
parent cafb105681
commit 81915ad8df
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C

View File

@ -98,11 +98,20 @@
<arg value="doctrine:database:create"/>
<arg value="--env=test"/>
</exec>
<!--
Looks like it doesn't work and generate an error:
There is no table with name '/home/jeremy/github/wallabag/app/..wallabag_entry' in the schema.
<exec executable="php">
<arg value="${basedir}/bin/console"/>
<arg value="doctrine:database:import"/>
<arg value="data/sql/sqlite_base.sql"/>
<arg value="--env=test"/>
</exec> -->
<exec executable="php">
<arg value="${basedir}/bin/console"/>
<arg value="doctrine:schema:create"/>
<arg value="--env=test"/>
</exec>
<exec executable="php">
<arg value="${basedir}/bin/console"/>