diff options
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -139,12 +139,6 @@ | |||
139 | <arg value="doctrine:database:create"/> | 139 | <arg value="doctrine:database:create"/> |
140 | <arg value="--env=test"/> | 140 | <arg value="--env=test"/> |
141 | </exec> | 141 | </exec> |
142 | <exec executable="php"> | ||
143 | <arg value="${basedir}/bin/console"/> | ||
144 | <arg value="doctrine:database:import"/> | ||
145 | <arg value="data/sql/pgsql_base.sql"/> | ||
146 | <arg value="--env=test"/> | ||
147 | </exec> | ||
148 | <exec executable="psql"> | 142 | <exec executable="psql"> |
149 | <arg value="-h"/> | 143 | <arg value="-h"/> |
150 | <arg value="localhost"/> | 144 | <arg value="localhost"/> |
@@ -157,6 +151,12 @@ | |||
157 | </exec> | 151 | </exec> |
158 | <exec executable="php"> | 152 | <exec executable="php"> |
159 | <arg value="${basedir}/bin/console"/> | 153 | <arg value="${basedir}/bin/console"/> |
154 | <arg value="doctrine:migrations:migrate"/> | ||
155 | <arg value="--no-interaction"/> | ||
156 | <arg value="--env=test"/> | ||
157 | </exec> | ||
158 | <exec executable="php"> | ||
159 | <arg value="${basedir}/bin/console"/> | ||
160 | <arg value="doctrine:fixtures:load"/> | 160 | <arg value="doctrine:fixtures:load"/> |
161 | <arg value="--no-interaction"/> | 161 | <arg value="--no-interaction"/> |
162 | <arg value="--env=test"/> | 162 | <arg value="--env=test"/> |