File tree 3 files changed +12
-1
lines changed
src/Symfony/Bundle/SecurityBundle/Tests/Functional/app 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ HttpKernel
127
127
services:
128
128
# ...
129
129
130
- # implicit commands registration
130
+ # implicit registration of all commands in the ` Command` folder
131
131
```
132
132
133
133
After:
Original file line number Diff line number Diff line change
1
+ # to be removed once https://github.com/doctrine/DoctrineBundle/pull/684 is merged
2
+ services :
3
+ Doctrine\Bundle\DoctrineBundle\Command\ :
4
+ resource : " @DoctrineBundle/Command/*"
5
+ tags : [console.command]
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \SecurityBundle \Tests \Functional \app ;
13
13
14
+ use Doctrine \ORM \Version ;
14
15
use Symfony \Component \Config \Loader \LoaderInterface ;
15
16
use Symfony \Component \Filesystem \Filesystem ;
16
17
use Symfony \Component \HttpKernel \Kernel ;
@@ -82,6 +83,11 @@ public function getLogDir()
82
83
public function registerContainerConfiguration (LoaderInterface $ loader )
83
84
{
84
85
$ loader ->load ($ this ->rootConfig );
86
+
87
+ // to be removed once https://github.com/doctrine/DoctrineBundle/pull/684 is merged
88
+ if ('Acl ' === $ this ->testCase && class_exists (Version::class)) {
89
+ $ loader ->load (__DIR__ .'/app/Acl/doctrine.yml ' );
90
+ }
85
91
}
86
92
87
93
public function serialize ()
You can’t perform that action at this time.
0 commit comments