From f853cf2dd9e3325d3c00422abb9fa4ef269ee1b3 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 25 Jan 2015 07:09:57 +0100 Subject: [PATCH] [SecurityBundle] fixed tests where cleanup was not done properly --- .../Tests/Functional/SetAclCommandTest.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/SetAclCommandTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/SetAclCommandTest.php index 899d445ebf..ec3cc116ec 100644 --- a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/SetAclCommandTest.php +++ b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/SetAclCommandTest.php @@ -151,6 +151,20 @@ class SetAclCommandTest extends WebTestCase $this->assertTrue($acl2->isGranted($permissionMap->getMasks($grantedPermission, null), array($roleSecurityIdentity))); } + protected function setUp() + { + parent::setUp(); + + $this->deleteTmpDir('Acl'); + } + + protected function tearDown() + { + parent::tearDown(); + + $this->deleteTmpDir('Acl'); + } + private function getApplication() { $kernel = $this->createKernel(array('test_case' => 'Acl'));