aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/build.xml11
-rw-r--r--app/config/config_test.yml4
2 files changed, 15 insertions, 0 deletions
diff --git a/app/build.xml b/app/build.xml
index b3f4c13a..5300af04 100644
--- a/app/build.xml
+++ b/app/build.xml
@@ -14,6 +14,17 @@
14 </exec> 14 </exec>
15 <exec executable="php"> 15 <exec executable="php">
16 <arg value="${basedir}/../app/console"/> 16 <arg value="${basedir}/../app/console"/>
17 <arg value="doctrine:database:drop"/>
18 <arg value="--force"/>
19 <arg value="--env=test"/>
20 </exec>
21 <exec executable="php">
22 <arg value="${basedir}/../app/console"/>
23 <arg value="doctrine:database:create"/>
24 <arg value="--env=test"/>
25 </exec>
26 <exec executable="php">
27 <arg value="${basedir}/../app/console"/>
17 <arg value="cache:clear"/> 28 <arg value="cache:clear"/>
18 <arg value="--env=test"/> 29 <arg value="--env=test"/>
19 </exec> 30 </exec>
diff --git a/app/config/config_test.yml b/app/config/config_test.yml
index 2f6d9250..83e2922a 100644
--- a/app/config/config_test.yml
+++ b/app/config/config_test.yml
@@ -14,3 +14,7 @@ web_profiler:
14 14
15swiftmailer: 15swiftmailer:
16 disable_delivery: true 16 disable_delivery: true
17
18doctrine:
19 dbal:
20 path: %kernel.root_dir%/../data/db/poche_test.sqlite