diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/AppKernel.php | 1 | ||||
-rw-r--r-- | app/build.xml | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php index 515c79ec..3dfefd58 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php | |||
@@ -28,6 +28,7 @@ class AppKernel extends Kernel | |||
28 | $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); | 28 | $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); |
29 | $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); | 29 | $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); |
30 | $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); | 30 | $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); |
31 | $bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(); | ||
31 | } | 32 | } |
32 | 33 | ||
33 | return $bundles; | 34 | return $bundles; |
diff --git a/app/build.xml b/app/build.xml index 6427867c..a8e43f0d 100644 --- a/app/build.xml +++ b/app/build.xml | |||
@@ -34,5 +34,12 @@ | |||
34 | <arg value="cache:clear"/> | 34 | <arg value="cache:clear"/> |
35 | <arg value="--env=test"/> | 35 | <arg value="--env=test"/> |
36 | </exec> | 36 | </exec> |
37 | <exec executable="php"> | ||
38 | <arg value="${basedir}/../app/console"/> | ||
39 | <arg value="doctrine:fixtures:load"/> | ||
40 | <arg value="--no-interaction"/> | ||
41 | <arg value="--purge-with-truncate"/> | ||
42 | <arg value="--env=test"/> | ||
43 | </exec> | ||
37 | </target> | 44 | </target> |
38 | </project> | 45 | </project> |