forked from wallabag/wallabag
Isolated tests
Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation.
This commit is contained in:
@ -48,6 +48,10 @@ class AppKernel extends Kernel
|
||||
$bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
|
||||
$bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
|
||||
$bundles[] = new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle();
|
||||
|
||||
if ('test' === $this->getEnvironment()) {
|
||||
$bundles[] = new DAMA\DoctrineTestBundle\DAMADoctrineTestBundle();
|
||||
}
|
||||
}
|
||||
|
||||
return $bundles;
|
||||
|
||||
Reference in New Issue
Block a user