Skip to content

Commit b47bae8

Browse files
committed
[SecurityBundle] fixed tests where cleanup was not done properly
1 parent 637f496 commit b47bae8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Tests/Functional/SetAclCommandTest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,20 @@ public function testSetAclClassScope()
151151
$this->assertTrue($acl2->isGranted($permissionMap->getMasks($grantedPermission, null), array($roleSecurityIdentity)));
152152
}
153153

154+
protected function setUp()
155+
{
156+
parent::setUp();
157+
158+
$this->deleteTmpDir('Acl');
159+
}
160+
161+
protected function tearDown()
162+
{
163+
parent::tearDown();
164+
165+
$this->deleteTmpDir('Acl');
166+
}
167+
154168
private function getApplication()
155169
{
156170
$kernel = $this->createKernel(array('test_case' => 'Acl'));

0 commit comments

Comments
 (0)