File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 "symfony/messenger" : " ^6.4 || ^7.4"
2626 },
2727 "require-dev" : {
28+ "dama/doctrine-test-bundle" : " ^8.2.2" ,
2829 "dg/bypass-finals" : " ^1.9" ,
2930 "ergebnis/composer-normalize" : " ^2.45" ,
3031 "friendsofphp/php-cs-fixer" : " ^3.71" ,
Original file line number Diff line number Diff line change 2727 <directory >./src/</directory >
2828 </include >
2929 </coverage >
30+
31+ <extensions >
32+ <extension class =" DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
33+ </extensions >
3034</phpunit >
Original file line number Diff line number Diff line change 11<?php declare (strict_types=1 );
22
3+ use DAMA \DoctrineTestBundle \DAMADoctrineTestBundle ;
34use Neusta \Pimcore \HttpCacheBundle \NeustaPimcoreHttpCacheBundle ;
45use Neusta \Pimcore \TestingFramework \Kernel \TestKernel as TestingFrameworkTestKernel ;
56use Pimcore \HttpKernel \BundleCollection \BundleCollection ;
@@ -8,6 +9,7 @@ class TestKernel extends TestingFrameworkTestKernel
89{
910 public function registerBundlesToCollection (BundleCollection $ collection ): void
1011 {
12+ $ collection ->addBundle (new DAMADoctrineTestBundle ());
1113 $ collection ->addBundle (new NeustaPimcoreHttpCacheBundle ());
1214 }
1315}
Original file line number Diff line number Diff line change 1+ dama_doctrine_test :
2+ enable_static_connection : true
3+ enable_static_meta_data_cache : true
4+ enable_static_query_cache : true
Original file line number Diff line number Diff line change 1+ doctrine :
2+ dbal :
3+ connections :
4+ default :
5+ use_savepoints : true
You can’t perform that action at this time.
0 commit comments