File tree 3 files changed +3
-6
lines changed
Filter options
3 files changed +3
-6
lines changed
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \AclBundle \Tests \Functional ;
13
13
14
- use Symfony \Bundle \FrameworkBundle \Console \Application ;
15
14
use Symfony \Bundle \AclBundle \Command \InitAclCommand ;
16
15
use Symfony \Bundle \AclBundle \Command \SetAclCommand ;
17
- use Symfony \Bundle \ FrameworkBundle \ Test \ KernelTestCase ;
16
+ use Symfony \Component \ Console \ Application ;
18
17
use Symfony \Component \Console \Tester \CommandTester ;
19
18
use Symfony \Component \Security \Acl \Domain \ObjectIdentity ;
20
19
use Symfony \Component \Security \Acl \Domain \RoleSecurityIdentity ;
29
28
* @author Kévin Dunglas <kevin@les-tilleuls.coop>
30
29
* @requires extension pdo_sqlite
31
30
*/
32
- class SetAclCommandTest extends KernelTestCase
31
+ class SetAclCommandTest extends FunctionalTestCase
33
32
{
34
33
const OBJECT_CLASS = 'Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\AclBundle\Entity\Car ' ;
35
34
const SECURITY_CLASS = User::class;
@@ -115,7 +114,7 @@ private function getApplication()
115
114
$ kernel = static ::createKernel (array ('test_case ' => 'Acl ' ));
116
115
$ kernel ->boot ();
117
116
118
- $ application = new Application ($ kernel );
117
+ $ application = new Application ();
119
118
$ application ->add (new InitAclCommand ($ kernel ->getContainer ()->get ('security.acl.dbal.connection ' ), $ kernel ->getContainer ()->get ('security.acl.dbal.schema ' )));
120
119
121
120
$ initAclCommand = $ application ->find ('acl:init ' );
Original file line number Diff line number Diff line change 12
12
return array (
13
13
new Doctrine \Bundle \DoctrineBundle \DoctrineBundle (),
14
14
new Symfony \Bundle \AclBundle \AclBundle (),
15
- new Symfony \Bundle \FrameworkBundle \FrameworkBundle (),
16
15
new Symfony \Bundle \AclBundle \Tests \Functional \Bundle \TestBundle \TestBundle (),
17
16
);
Original file line number Diff line number Diff line change 19
19
"php" : " ^5.5.9|>=7.0.8" ,
20
20
"ext-xml" : " *" ,
21
21
"symfony/dependency-injection" : " ~3.4|~4.0" ,
22
- "symfony/framework-bundle" : " ~3.4|~4.0" ,
23
22
"symfony/http-kernel" : " ~3.4|~4.0" ,
24
23
"symfony/polyfill-php70" : " ~1.0" ,
25
24
"symfony/security-acl" : " ~2.7|~3.0"
You can’t perform that action at this time.
0 commit comments