File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1414use DTL \Bundle \PhpcrMigrations \Tests \Resources \Bundle \TwoTestBundle \TwoTestBundle ;
1515use Symfony \Cmf \Component \Testing \HttpKernel \TestKernel ;
1616use Symfony \Component \Config \Loader \LoaderInterface ;
17+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
1718
1819class AppKernel extends TestKernel
1920{
@@ -37,4 +38,10 @@ public function registerContainerConfiguration(LoaderInterface $loader)
3738 $ loader ->import (CMF_TEST_CONFIG_DIR . '/phpcr_odm.php ' );
3839 $ loader ->load (__DIR__ . '/config/config.yml ' );
3940 }
41+
42+ protected function prepareContainer (ContainerBuilder $ container )
43+ {
44+ parent ::prepareContainer ($ container );
45+ $ container ->setParameter ('cmf_testing.bundle_fqn ' , 'DTL\Bundle\PhpcrMigrations\PhpcrMigrationsBundle ' );
46+ }
4047}
You can’t perform that action at this time.
0 commit comments