Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 094c4b7

Browse filesBrowse files
committed
Remove framework-bundle requirement
1 parent 25185fa commit 094c4b7
Copy full SHA for 094c4b7

File tree

3 files changed

+3
-6
lines changed
Filter options

3 files changed

+3
-6
lines changed

‎Tests/Functional/SetAclCommandTest.php

Copy file name to clipboardExpand all lines: Tests/Functional/SetAclCommandTest.php
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111

1212
namespace Symfony\Bundle\AclBundle\Tests\Functional;
1313

14-
use Symfony\Bundle\FrameworkBundle\Console\Application;
1514
use Symfony\Bundle\AclBundle\Command\InitAclCommand;
1615
use Symfony\Bundle\AclBundle\Command\SetAclCommand;
17-
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
16+
use Symfony\Component\Console\Application;
1817
use Symfony\Component\Console\Tester\CommandTester;
1918
use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
2019
use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity;
@@ -29,7 +28,7 @@
2928
* @author Kévin Dunglas <kevin@les-tilleuls.coop>
3029
* @requires extension pdo_sqlite
3130
*/
32-
class SetAclCommandTest extends KernelTestCase
31+
class SetAclCommandTest extends FunctionalTestCase
3332
{
3433
const OBJECT_CLASS = 'Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\AclBundle\Entity\Car';
3534
const SECURITY_CLASS = User::class;
@@ -115,7 +114,7 @@ private function getApplication()
115114
$kernel = static::createKernel(array('test_case' => 'Acl'));
116115
$kernel->boot();
117116

118-
$application = new Application($kernel);
117+
$application = new Application();
119118
$application->add(new InitAclCommand($kernel->getContainer()->get('security.acl.dbal.connection'), $kernel->getContainer()->get('security.acl.dbal.schema')));
120119

121120
$initAclCommand = $application->find('acl:init');

‎Tests/Functional/app/Acl/bundles.php

Copy file name to clipboardExpand all lines: Tests/Functional/app/Acl/bundles.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@
1212
return array(
1313
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
1414
new Symfony\Bundle\AclBundle\AclBundle(),
15-
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
1615
new Symfony\Bundle\AclBundle\Tests\Functional\Bundle\TestBundle\TestBundle(),
1716
);

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"php": "^5.5.9|>=7.0.8",
2020
"ext-xml": "*",
2121
"symfony/dependency-injection": "~3.4|~4.0",
22-
"symfony/framework-bundle": "~3.4|~4.0",
2322
"symfony/http-kernel": "~3.4|~4.0",
2423
"symfony/polyfill-php70": "~1.0",
2524
"symfony/security-acl": "~2.7|~3.0"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.