File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 55build /
66.phpunit
77phpunit.xml
8+
Original file line number Diff line number Diff line change 1414use Orbitale \Bundle \CmsBundle \Tests \Fixtures \TestBundle \Entity \Page ;
1515use Symfony \Bundle \FrameworkBundle \Test \WebTestCase ;
1616use Symfony \Component \Console \Output \BufferedOutput ;
17- use Symfony \Component \Console \Output \ConsoleOutput ;
18- use Symfony \Component \Console \Output \NullOutput ;
1917use Symfony \Component \Filesystem \Filesystem ;
2018use Symfony \Bundle \FrameworkBundle \Console \Application ;
2119use Symfony \Component \Console \Input \ArrayInput ;
2220
2321class AbstractTestCase extends WebTestCase
2422{
2523 public function setUp (): void
24+ {
25+ self ::installDatabase ();
26+ }
27+
28+ public static function installDatabase (): void
2629 {
2730 static ::bootKernel ();
2831
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ framework:
1010 resource : " %kernel.project_dir%/App/config/routing.yaml"
1111 utf8 : true
1212 session :
13+ handler_id : null
1314 storage_factory_id : session.storage.factory.mock_file
1415
1516twig :
Original file line number Diff line number Diff line change 3434 fwrite (STDERR , $ e ->getMessage ());
3535 }
3636 }
37- $ kernel ->shutdown ();
3837 unset($ kernel );
3938})();
Original file line number Diff line number Diff line change 77 "license" : " MIT" ,
88 "require" : {
99 "php" : " >=7.3" ,
10- "doctrine/annotations" : " ^1.8" ,
10+ "doctrine/annotations" : " ^1.8|^2.0 " ,
1111 "doctrine/doctrine-bundle" : " ^2.0" ,
1212 "doctrine/orm" : " ^2.5.1" ,
1313 "symfony/asset" : " ^5.3|^6.0|^7.0" ,
5151 ],
5252 "extra" : {
5353 "branch-alias" : {
54- "dev-master" : " 4 .x-dev"
54+ "dev-master" : " 5 .x-dev"
5555 }
5656 }
5757}
You can’t perform that action at this time.
0 commit comments